Skip to content

Commit

Permalink
some random tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Taepper committed Jun 18, 2024
1 parent 51a6981 commit 711c147
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,23 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Get changed files
id: changed-files1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.number }}
run: |
echo "Github Event ${{ github.event }}"
echo "Github Event number ${{ github.event.number }}"
echo "github.repository_owner ${{ github.repository_owner }}"
echo "github.repository ${{ github.repository }}"
echo "Changed files in PR #${PR_NUMBER}:"
$files=$(curl -s \
"https://api.github.com/repos/${{ github.repository_owner }}/${{ github.repository }}/pulls/${PR_NUMBER}/files" \
| jq -r '.[].filename')
echo "${$files}"
echo "::set-output name=files::$files"
- name: Generate dependency files hash
id: files-hash
run: |
Expand Down

0 comments on commit 711c147

Please sign in to comment.