Skip to content

Commit

Permalink
Merge pull request #587 from gradle/bz-build-scan-commit-status
Browse files Browse the repository at this point in the history
Publish build scan commit statuses
  • Loading branch information
cobexer authored Nov 18, 2024
2 parents 40500b6 + 832f274 commit e1c239c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build-scan-commit-status.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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@v3
with:
role-to-assume: arn:aws:iam::992382829881:role/GHASecrets_gradle-profiler_all
aws-region: "eu-central-1"
- name: get secrets
uses: aws-actions/aws-secretsmanager-get-secrets@v2
with:
secret-ids: |
GH_PAT, gha/gradle-profiler/_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

0 comments on commit e1c239c

Please sign in to comment.