Skip to content

Commit

Permalink
Add comment bot
Browse files Browse the repository at this point in the history
  • Loading branch information
robbibt authored Jul 18, 2024
1 parent 1184072 commit 27d14cb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:
permissions:
id-token: write
contents: read
pull-requests: write # Required for validation results comment bot

jobs:
integration-test:
Expand Down Expand Up @@ -65,6 +66,15 @@ jobs:
id: req
run: echo "content=$(cat ./dea-sandbox/integration-testing/requirements.txt)" >> $GITHUB_OUTPUT

# Post requirements as a comment on the PR
- name: Post validation results as comment
uses: mshick/add-pr-comment@v2
if: github.event_name == 'pull_request'
with:
message: |
Installed packages:
${{ steps.req.outputs.content }}
- name: Set up Datacube and Test
run: |
cd ./dea-sandbox/integration-testing
Expand Down

0 comments on commit 27d14cb

Please sign in to comment.