Skip to content

Commit

Permalink
Merge branch 'main' into th/fix-directory-issue
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov authored Jan 16, 2025
2 parents 6baebf4 + 602ae3f commit 308f569
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/broadcast_api_changes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
# yamllint disable rule:line-length

name: Broadcast API changes

on:
push:
branches: ['main']
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 }}
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

0 comments on commit 308f569

Please sign in to comment.