feat: make a new issue #10
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
--- | |
# yamllint disable rule:line-length | |
name: Broadcast API changes | |
on: | |
push: | |
branches: ['main'] | |
paths: ['codecovcli_commands'] | |
pull_request: | |
paths: ['codecovcli_commands'] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
issues: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install GitHub CLI | |
uses: dev-hanz-ops/[email protected] | |
- name: Open issue on wrapper | |
run: | | |
gh issue create -R codecov/wrapper -t 'New change on CLI' -b "$(gh pr diff $BRANCH)" | |
env: | |
BRANCH: ${{ github.head_ref }} | |
GH_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }} |