Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sabban committed Apr 25, 2024
1 parent e6fccba commit 8e76108
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/populate-hapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,12 @@ jobs:
COMMITS="$COMMITS $PAGE_COMMITS"
PAGE=$((PAGE + 1))
done
echo "::set-output name=commits::$COMMITS"
- name: Print modified files
if: ${{ ! github.event.created }}
run: |
for sha in ${{ steps.fetch-commits.outputs.commits }}; do
echo $COMMITS
for sha in $COMMITS; do
FILES=$(curl -sSL -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/repos/${{ github.repository }}/commits/$sha | jq -r '.files[].filename')
echo "Modified files in commit $sha:"
echo "$FILES"
Expand Down

0 comments on commit 8e76108

Please sign in to comment.