Skip to content

Commit

Permalink
Stop use of self hosted runners for some workflows. (#25542)
Browse files Browse the repository at this point in the history
Co-authored-by: lostluck <[email protected]>
  • Loading branch information
lostluck and lostluck authored Feb 17, 2023
1 parent 20c8d3a commit 6de6744
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/git_tag_released_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ on:

jobs:
generate_tags:
runs-on: [self-hosted, ubuntu-20.04]
runs-on: ubuntu-latest
env:
VERSION_PATH: ${{ github.event.inputs.VERSION_TAG }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ concurrency:
cancel-in-progress: true
jobs:
build:
runs-on: [self-hosted, ubuntu-20.04]
runs-on: ubuntu-latest
name: Go Build
steps:
- name: Check out code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-tagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

jobs:
label:
runs-on: [self-hosted, ubuntu-20.04]
runs-on: ubuntu-latest
permissions:
issues: write
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label_prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on: [pull_request_target]
permissions: read-all
jobs:
label:
runs-on: [self-hosted, ubuntu-20.04]
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-bot-new-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
statuses: read
# Don't run on forks
if: github.repository == 'apache/beam'
runs-on: [self-hosted, ubuntu-20.04]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-bot-prs-needing-attention.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
statuses: read
# Don't run on forks
if: github.repository == 'apache/beam'
runs-on: [self-hosted, ubuntu-20.04]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_github_release_notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ permissions: read-all

jobs:
set-properties:
runs-on: [self-hosted, ubuntu-20.04]
runs-on: ubuntu-latest
outputs:
properties: ${{ steps.test-properties.outputs.properties }}
steps:
Expand All @@ -41,7 +41,7 @@ jobs:
uses: ./.github/actions/setup-default-test-properties

publish_github_release_notes:
runs-on: [self-hosted, ubuntu-20.04]
runs-on: ubuntu-latest
needs: set-properties
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reportGenerator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
jobs:
assign:
name: Generate issue report
runs-on: [self-hosted, ubuntu-20.04]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/self-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
issues: write
name: Take or close an issue
if: ${{ !github.event.issue.pull_request }}
runs-on: [self-hosted, ubuntu-20.04]
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
permissions: read-all
jobs:
stale:
runs-on: [self-hosted, ubuntu-20.04]
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/triaged-on-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
permissions:
issues: write
name: Mark issue as triaged when assigned
runs-on: [self-hosted, ubuntu-20.04]
runs-on: ubuntu-latest
steps:
- run: |
ISSUE_NUMBER="$(jq '.issue.number' $GITHUB_EVENT_PATH)"
Expand Down

0 comments on commit 6de6744

Please sign in to comment.