Skip to content

Commit

Permalink
fix: Update runs-on labels in GitHub Actions workflows (#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlokshin-czi authored Feb 7, 2025
1 parent a20c26b commit 7744123
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:

jobs:
find-changed-packages:
runs-on: [ARM64, self-hosted, Linux]
runs-on: ARM64
outputs:
changedPackages: ${{ steps.changedGoPackages.outputs.changedGoPackages }}
steps:
Expand All @@ -19,7 +19,7 @@ jobs:
uses: ./.github/actions/find-changed-packages

run-lint:
runs-on: [ARM64, self-hosted, Linux]
runs-on: ARM64
needs: find-changed-packages
if: ${{ needs.find-changed-packages.outputs.changedPackages != '[]' }}
strategy:
Expand All @@ -42,7 +42,7 @@ jobs:
workdir: ${{ matrix.gopkg }}

run-tests:
runs-on: [ARM64, self-hosted, Linux]
runs-on: ARM64
needs: find-changed-packages
if: ${{ needs.find-changed-packages.outputs.changedPackages != '[]' }}
strategy:
Expand All @@ -60,7 +60,7 @@ jobs:

# this job exists to give us something to make a required check on that will ensure all CI runs are complete
run-ci-complete:
runs-on: [ARM64, self-hosted, Linux]
runs-on: ARM64
needs:
- run-tests
- run-lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conventional-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ concurrency:
cancel-in-progress: true
jobs:
conventional_commit_title:
runs-on: [ARM64, self-hosted, Linux]
runs-on: ARM64
steps:
- uses: chanzuckerberg/github-actions/.github/actions/[email protected]
6 changes: 3 additions & 3 deletions .github/workflows/mod-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:

jobs:
find-changed-packages:
runs-on: [ARM64, self-hosted, Linux]
runs-on: ARM64
outputs:
changedPackages: ${{ steps.changedGoPackages.outputs.changedGoPackages }}
steps:
Expand All @@ -19,7 +19,7 @@ jobs:
uses: ./.github/actions/find-changed-packages

update-go-mod:
runs-on: [ARM64, self-hosted, Linux]
runs-on: ARM64
needs: find-changed-packages
strategy:
matrix:
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:

# this job exists to give us something to make a required check on that will ensure all go.mod updates are complete
go-mod-updates-complete:
runs-on: [ARM64, self-hosted, Linux]
runs-on: ARM64
needs: update-go-mod
steps:
- run: echo "Go mod updates complete"
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
name: release-please
jobs:
release-please:
runs-on: [ARM64, self-hosted, Linux]
runs-on: ARM64
steps:
# See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
# For why we need to generate a token and not use the default
Expand Down

0 comments on commit 7744123

Please sign in to comment.