From 79718ca83d3f7d1e14b3f5456b56035901916798 Mon Sep 17 00:00:00 2001 From: Ben <43026681+bwp91@users.noreply.github.com> Date: Sat, 23 Sep 2023 20:57:50 +0100 Subject: [PATCH] Revert "main -> latest" This reverts commit 77397a985dcb4b9f4d302cb7be5011034ff0bc61. --- .github/workflows/beta-release.yml | 6 +++--- .github/workflows/build.yml | 6 +++--- .github/workflows/codeql-analysis.yml | 6 +++--- .github/workflows/pr-labeler.yml | 2 +- .github/workflows/release.yml | 4 ++-- .github/workflows/stale.yml | 2 +- CONTRIBUTING.md | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/beta-release.yml b/.github/workflows/beta-release.yml index fa2578f25..59d4c384a 100644 --- a/.github/workflows/beta-release.yml +++ b/.github/workflows/beta-release.yml @@ -7,7 +7,7 @@ on: jobs: build_and_test: - uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest + uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@main with: enable_coverage: true install_cmd: npm ci && cd ui && npm ci @@ -16,7 +16,7 @@ jobs: lint: needs: build_and_test - uses: homebridge/.github/.github/workflows/eslint.yml@latest + uses: homebridge/.github/.github/workflows/eslint.yml@main with: install_cmd: npm ci && cd ui && npm ci @@ -25,7 +25,7 @@ jobs: if: ${{ github.repository == 'homebridge/homebridge-config-ui-x' }} - uses: homebridge/.github/.github/workflows/npm-publish.yml@latest + uses: homebridge/.github/.github/workflows/npm-publish.yml@main with: tag: 'test' dynamically_adjust_version: true diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 525a55124..31a73476a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ name: Node Build on: push: - branches: [latest] + branches: [main] pull_request: workflow_dispatch: @@ -13,7 +13,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-2019] - uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest + uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@main with: enable_coverage: true runs_on: ${{ matrix.os }} @@ -90,6 +90,6 @@ jobs: lint: needs: build_and_test - uses: homebridge/.github/.github/workflows/eslint.yml@latest + uses: homebridge/.github/.github/workflows/eslint.yml@main with: install_cmd: npm ci && cd ui && npm ci diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a3faf80d9..a7af70ba6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,12 +2,12 @@ name: "CodeQL" on: push: - branches: [ latest, beta* ] + branches: [ main, beta* ] pull_request: - branches: [ latest, beta* ] + branches: [ main, beta* ] schedule: - cron: '17 9 * * 2' jobs: analyze: - uses: homebridge/.github/.github/workflows/codeql-analysis.yml@latest + uses: homebridge/.github/.github/workflows/codeql-analysis.yml@main diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index 8b606ea02..08c043112 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -7,6 +7,6 @@ on: jobs: stale: - uses: homebridge/.github/.github/workflows/pr-labeler.yml@latest + uses: homebridge/.github/.github/workflows/pr-labeler.yml@main secrets: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55d03fd64..fb9b6a61d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ on: jobs: build_and_test: - uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest + uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@main with: enable_coverage: true install_cmd: npm ci && cd ui && npm ci @@ -20,7 +20,7 @@ jobs: if: ${{ github.repository == 'homebridge/homebridge-config-ui-x' }} - uses: homebridge/.github/.github/workflows/npm-publish.yml@latest + uses: homebridge/.github/.github/workflows/npm-publish.yml@main with: install_cmd: npm ci && cd ui && npm ci secrets: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 2683a78a4..3a333183b 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -7,6 +7,6 @@ on: jobs: stale: - uses: homebridge/.github/.github/workflows/stale.yml@latest + uses: homebridge/.github/.github/workflows/stale.yml@main secrets: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5fc4d4168..8601e6e22 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -72,4 +72,4 @@ npm run test Additional language translations, or improvements to existing translations are most welcome. Translations can be found here: -https://github.com/homebridge/homebridge-config-ui-x/tree/latest/ui/src/i18n +https://github.com/homebridge/homebridge-config-ui-x/tree/main/ui/src/i18n