From ff2a62befb690ff56c7425005f66b0a18e36d740 Mon Sep 17 00:00:00 2001 From: spiro-sigma Date: Wed, 16 Jul 2025 10:56:37 +0100 Subject: [PATCH] feat: Changed runs-on to the codebuild project Ref: PTIN-166 --- .github/workflows/publish.yml | 2 +- .github/workflows/triage_pr.yml | 4 ++-- .github/workflows/update-repo-stuff.yml | 16 ++++++++-------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3c2dd3b..0b0cc9c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,7 +8,7 @@ on: jobs: publish: name: Publish to crates.io - runs-on: ubuntu-latest + runs-on: codebuild-poc-PTIN-166-${{ github.run_id }}-${{ github.run_attempt }} steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable diff --git a/.github/workflows/triage_pr.yml b/.github/workflows/triage_pr.yml index eecc263..7ee0914 100644 --- a/.github/workflows/triage_pr.yml +++ b/.github/workflows/triage_pr.yml @@ -10,7 +10,7 @@ on: jobs: validate_pr_title: name: Validate PR title - runs-on: ubuntu-latest + runs-on: codebuild-poc-PTIN-166-${{ github.run_id }}-${{ github.run_attempt }} steps: - uses: amannn/action-semantic-pull-request@v4 env: @@ -21,7 +21,7 @@ jobs: ignore-semantic-pull-request label_pr: name: Label Pull Request - runs-on: ubuntu-latest + runs-on: codebuild-poc-PTIN-166-${{ github.run_id }}-${{ github.run_attempt }} permissions: contents: read pull-requests: write diff --git a/.github/workflows/update-repo-stuff.yml b/.github/workflows/update-repo-stuff.yml index 14ac43b..20735f7 100644 --- a/.github/workflows/update-repo-stuff.yml +++ b/.github/workflows/update-repo-stuff.yml @@ -14,7 +14,7 @@ env: jobs: get_pr_number_pr_event: name: Get the PR number from PR event - runs-on: ubuntu-latest + runs-on: codebuild-poc-PTIN-166-${{ github.run_id }}-${{ github.run_attempt }} outputs: pr_number: ${{ steps.pr.outputs.number }} steps: @@ -31,7 +31,7 @@ jobs: get_pr_number_push_event: name: Get the PR number from Push event - runs-on: ubuntu-latest + runs-on: codebuild-poc-PTIN-166-${{ github.run_id }}-${{ github.run_attempt }} outputs: pr_number: ${{ steps.pr.outputs.number }} steps: @@ -53,7 +53,7 @@ jobs: get_pr_number: name: Get PR number from event - runs-on: ubuntu-latest + runs-on: codebuild-poc-PTIN-166-${{ github.run_id }}-${{ github.run_attempt }} needs: - get_pr_number_pr_event - get_pr_number_push_event @@ -81,7 +81,7 @@ jobs: print_inputs: name: Print the inputs to the workflow - runs-on: ubuntu-latest + runs-on: codebuild-poc-PTIN-166-${{ github.run_id }}-${{ github.run_attempt }} needs: - get_pr_number steps: @@ -100,7 +100,7 @@ jobs: pr_number: ${{ steps.pr_info.outputs.number }} pr_title: ${{ steps.pr_info.outputs.title }} permissions: read-all - runs-on: ubuntu-latest + runs-on: codebuild-poc-PTIN-166-${{ github.run_id }}-${{ github.run_attempt }} steps: - name: Checkout uses: actions/checkout@v3 @@ -168,7 +168,7 @@ jobs: generate_changelog: name: Generate changelog - runs-on: ubuntu-latest + runs-on: codebuild-poc-PTIN-166-${{ github.run_id }}-${{ github.run_attempt }} needs: #- bot-label-check - get_pr_info @@ -220,7 +220,7 @@ jobs: name: Generate Minimum Supported Rust Version badge #if: github.event_name == 'push' && github.ref == 'refs/heads/staging' #needs: bot-label-check - runs-on: ubuntu-latest + runs-on: codebuild-poc-PTIN-166-${{ github.run_id }}-${{ github.run_attempt }} steps: - name: Checkout uses: actions/checkout@v3 @@ -252,7 +252,7 @@ jobs: commit_updates: name: Commit updates #if: github.event_name == 'push' && github.ref == 'refs/heads/staging' - runs-on: ubuntu-latest + runs-on: codebuild-poc-PTIN-166-${{ github.run_id }}-${{ github.run_attempt }} needs: - get_pr_info - generate_changelog