Sha256: f33c8b1fcc1afa4edb8a9b8e34ead2e7b94f8c32bde9bb85f759f5321bdfbecc

Contents?: true

Size: 802 Bytes

Versions: 3

Compression:

Stored size: 802 Bytes

Contents

name: release-please-label
on:
  pull_request_target:
    branches:
      - main
    types:
      - opened
jobs:
  release-please-label:
    if: "${{ github.event.sender.login == 'yoshi-code-bot' && startsWith(github.event.pull_request.title, 'chore(main): release ') }}"
    runs-on: ubuntu-latest
    steps:
      - name: ReleaseLabel
        uses: actions/github-script@v7
        with:
          github-token: ${{secrets.YOSHI_APPROVER_TOKEN}}
          script: |
            core.info('Labeling release');
            await github.rest.issues.addLabels({
              owner: context.repo.owner,
              repo: context.repo.repo,
              issue_number: context.payload.pull_request.number,
              labels: ['autorelease: pending']
            });
            core.info('Labeled');

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activerecord-spanner-adapter-1.6.2 .github/workflows/release-please-label.yml
activerecord-spanner-adapter-1.6.1 .github/workflows/release-please-label.yml
activerecord-spanner-adapter-1.6.0 .github/workflows/release-please-label.yml