Skip to content

Commit

Permalink
Update test.yml - limit to repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm1957 authored Oct 18, 2023
1 parent f5825e5 commit 95002ff
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1 +1,31 @@
name: Check stable versionson: push: branches: - master pull_request: {}concurrency: group: stable-${{ github.head_ref }} cancel-in-progress: truejobs: check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i - run: npm run test env: OWN_GITHUB_TOKEN: ${{ secrets.OWN_GITHUB_TOKEN }}
name: Check stable versions

on:
push:
workflow_dispatch:

branches:
- master

pull_request: {}

concurrency:
group: stable-${{ github.head_ref }}
cancel-in-progress: true

jobs:
check:
name: check stable versions
if: |
github.repository == 'ioBroker/ioBroker.repositories'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 14
- run: npm i
- run: npm run test
env:
OWN_GITHUB_TOKEN: ${{ secrets.OWN_GITHUB_TOKEN }}

0 comments on commit 95002ff

Please sign in to comment.