feat: Automated regeneration of storagetransfer v1 client #13171
Workflow file for this run
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: 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@v4 | |
with: | |
github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} | |
script: | | |
core.info('Labeling release'); | |
await github.issues.addLabels({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
issue_number: context.payload.pull_request.number, | |
labels: ['autorelease: pending'] | |
}); | |
core.info('Labeled'); |