Skip to content

Commit 9064f33

Browse files
Runs on ubuntu
Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
1 parent 70b6593 commit 9064f33

3 files changed

Lines changed: 4 additions & 51 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,9 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
jobs:
17-
label-detector:
18-
name: Runner Label
19-
runs-on: label-detector
20-
outputs:
21-
runs-on: ${{ steps.detector.outputs.label }}
22-
steps:
23-
- name: Detect Label
24-
id: detector
25-
run: |
26-
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idoutputs
27-
echo "label=$(curl -fsSL https://this-is-nats.appscode.ninja/runs-on/${{ github.repository_owner }}?visibility=${{ github.repository_visibility }})" >> $GITHUB_OUTPUT
28-
2917
build:
3018
name: Build
31-
needs: label-detector
32-
runs-on: "${{ needs.label-detector.outputs.runs-on }}"
19+
runs-on: ubuntu-latest
3320
steps:
3421
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
3522

.github/workflows/preview-website.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,9 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14-
label-detector:
15-
name: Runner Label
16-
runs-on: label-detector
17-
permissions:
18-
contents: read
19-
checks: write
20-
pull-requests: write
21-
outputs:
22-
runs-on: ${{ steps.detector.outputs.label }}
23-
permissions:
24-
contents: read
25-
checks: write
26-
pull-requests: write
27-
steps:
28-
- name: Detect Label
29-
id: detector
30-
run: |
31-
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idoutputs
32-
echo "label=$(curl -fsSL https://this-is-nats.appscode.ninja/runs-on/${{ github.repository_owner }}?visibility=${{ github.repository_visibility }})" >> $GITHUB_OUTPUT
33-
3414
build:
3515
name: Build
36-
needs: label-detector
37-
runs-on: "${{ needs.label-detector.outputs.runs-on }}"
16+
runs-on: ubuntu-latest
3817
permissions:
3918
contents: read
4019
checks: write

.github/workflows/release-tracker.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,10 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
jobs:
13-
label-detector:
14-
if: github.event.pull_request.merged == true
15-
name: Runner Label
16-
runs-on: label-detector
17-
outputs:
18-
runs-on: ${{ steps.detector.outputs.label }}
19-
steps:
20-
- name: Detect Label
21-
id: detector
22-
run: |
23-
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idoutputs
24-
echo "label=$(curl -fsSL https://this-is-nats.appscode.ninja/runs-on/${{ github.repository_owner }}?visibility=${{ github.repository_visibility }})" >> $GITHUB_OUTPUT
25-
2613
build:
14+
if: github.event.pull_request.merged == true
2715
name: Build
28-
needs: label-detector
29-
runs-on: "${{ needs.label-detector.outputs.runs-on }}"
16+
runs-on: ubuntu-latest
3017
permissions:
3118
contents: read
3219
steps:

0 commit comments

Comments
 (0)