github.com/grafana/synthetic-monitoring-agent@v0.64.2/.github/workflows/release-please.yml (about)

     1  name: Release Please
     2  
     3  on:
     4    push:
     5      branches:
     6        - main
     7    workflow_dispatch:
     8  
     9  permissions:
    10    contents: none
    11  
    12  jobs:
    13    release-please:
    14      runs-on: ubuntu-arm64-small
    15  
    16      permissions:
    17        contents: write      # Needed for release-please-action
    18        pull-requests: write # Needed for release-please-action
    19        id-token: write      # Needed for create-github-app-token
    20  
    21      steps:
    22        - name: Get GitHub App token
    23          id: get-github-app-token
    24          uses: grafana/shared-workflows/actions/create-github-app-token@46f48da11e78ebdba7a8747ae456b11062fac83e # create-github-app-token/v0.3.1
    25          with:
    26            github_app: sm-release-app
    27  
    28        - name: Release
    29          id: release
    30          uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5
    31          with:
    32            token: ${{ steps.get-github-app-token.outputs.token }}
    33            target-branch: main
    34            config-file: .github/release-please/release-please-config.json
    35            manifest-file: .github/release-please/release-please-manifest.json