Skip to content

Commit

Permalink
feat: make a new issue
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Jan 16, 2025
1 parent 15d869d commit e226f54
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/broadcast_api_changes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
# yamllint disable rule:line-length

on:
push:
branches: ['main']
paths: ['codecovcli_commands']
pull_request:
paths: ['codecovcli_commands']

jobs:
run:
runs-on: ubuntu-latest
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 codecovcli_commands)
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Run command_dump
run: |
python command_dump.py
- name: Detect changes
- name: Detect changes on commit
run: |
if [ -n "$(git diff codecovcli_commands)" ]; then
echo "Please run `python command_dump.py` before submitting, or install the hooks"
Expand Down
1 change: 1 addition & 0 deletions codecovcli_commands
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
TEST
Usage: codecovcli [OPTIONS] COMMAND [ARGS]...

Options:
Expand Down

0 comments on commit e226f54

Please sign in to comment.