Skip to content

feat: Changed runs-on to the codebuild project Ref: PTIN-166 #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/triage_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/update-repo-stuff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down