Skip to content

Commit

Permalink
update workflow to .github's branch latest
Browse files Browse the repository at this point in the history
  • Loading branch information
donavanbecker committed Oct 28, 2023
1 parent 93a9743 commit 5af0b4c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ on:

jobs:
build_and_test:
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@main
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest
with:
enable_coverage: true
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
lint:
needs: build_and_test
uses: homebridge/.github/.github/workflows/eslint.yml@main
uses: homebridge/.github/.github/workflows/eslint.yml@latest

publish:
needs: lint

if: ${{ github.repository == 'homebridge/HAP-NodeJS' }}

uses: homebridge/.github/.github/workflows/npm-publish.yml@main
uses: homebridge/.github/.github/workflows/npm-publish.yml@latest
with:
tag: 'beta'
dynamically_adjust_version: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ on:

jobs:
build_and_test:
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@main
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest
with:
enable_coverage: true
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
lint:
needs: build_and_test
uses: homebridge/.github/.github/workflows/eslint.yml@main
uses: homebridge/.github/.github/workflows/eslint.yml@latest
lint-docs:
needs: build_and_test
uses: homebridge/.github/.github/workflows/lint-docs.yml@main
uses: homebridge/.github/.github/workflows/lint-docs.yml@latest
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ on:

jobs:
analyze:
uses: homebridge/.github/.github/workflows/codeql-analysis.yml@main
uses: homebridge/.github/.github/workflows/codeql-analysis.yml@latest
2 changes: 1 addition & 1 deletion .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ on:

jobs:
stale:
uses: homebridge/.github/.github/workflows/pr-labeler.yml@main
uses: homebridge/.github/.github/workflows/pr-labeler.yml@latest
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build_and_test:
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@main
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest
with:
enable_coverage: true
secrets:
Expand All @@ -19,6 +19,6 @@ jobs:

if: ${{ github.repository == 'homebridge/HAP-NodeJS' }}

uses: homebridge/.github/.github/workflows/npm-publish.yml@main
uses: homebridge/.github/.github/workflows/npm-publish.yml@latest
secrets:
npm_auth_token: ${{ secrets.npm_token }}
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ on:

jobs:
stale:
uses: homebridge/.github/.github/workflows/stale.yml@main
uses: homebridge/.github/.github/workflows/stale.yml@latest
secrets:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5af0b4c

Please sign in to comment.