Skip to content

Commit

Permalink
fix: add PR numb in message
Browse files Browse the repository at this point in the history
  • Loading branch information
prakasa-tkpd committed Nov 6, 2023
1 parent 1d27d30 commit fe1e150
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/monitor-changed-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ jobs:
name: Checkout
uses: actions/checkout@v3

- name: Get Pull Request Number
id: pr
run: echo "::set-output name=pull_request_number::$(gh pr view --json number -q .number || echo "")"

- name: Get all test, doc and src files that have changed
id: changed-files-yaml
uses: tj-actions/changed-files@v40
Expand All @@ -35,4 +31,4 @@ jobs:
# if: steps.changed-files-yaml.outputs.seo_any_changed == 'true'
run: |
echo "One or more SEO file(s) has changed."
echo "List all the files that have changed in PR ${{ steps.pr.outputs.pull_request_number }}: ${{ steps.changed-files-yaml.outputs.seo_all_changed_files }}"
echo "List all the files that have changed in PR ${{ github.event.pull_request.number }}: ${{ steps.changed-files-yaml.outputs.seo_all_changed_files }}"

0 comments on commit fe1e150

Please sign in to comment.