Publish BuildScan Commit Status #147
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish BuildScan Commit Status | |
on: | |
status | |
permissions: | |
statuses: write | |
id-token: write | |
jobs: | |
build_scan_commit_status: | |
runs-on: ubuntu-latest | |
steps: | |
- name: configure aws credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: arn:aws:iam::992382829881:role/GHASecrets_native-platform_all | |
aws-region: "eu-central-1" | |
- name: get secrets | |
uses: aws-actions/aws-secretsmanager-get-secrets@v2 | |
with: | |
secret-ids: | | |
GH_PAT, gha/native-platform/_all/GH_BOT_GITHUB_TOKEN | |
- name: Checkout gradle-github-actions Repo | |
uses: actions/checkout@v4 | |
with: | |
repository: gradle/gradle-github-actions | |
ref: main | |
token: ${{ env.GH_PAT }} | |
path: .github/actions/gradle-github-actions | |
- name: Publish BuildScan Commit Status | |
uses: ./.github/actions/gradle-github-actions/buildscan-commit-status-action |