Update NEWS.md #26
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
on: | |
push: | |
branches: | |
- pr/release-* | |
env: | |
GH_PR_BODY: 'This pull request is a workplace for editing release notes `NEWS.md`.' | |
GH_PR_LABEL: ready,ignore-for-release | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
submit-pr-for-release-notes: | |
if: github.repository_owner == 'sympa-community' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Submit PR | |
run: > | |
gh pr create -H $GITHUB_REPOSITORY_OWNER:$GITHUB_REF_NAME | |
-t "Release ${GITHUB_REF_NAME#pr/release-}" -b "$GH_PR_BODY" -l "$GH_PR_LABEL" | |
|| true |