Skip to content

Commit

Permalink
test dependabot PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
rugeli committed Oct 1, 2024
1 parent 0b756e4 commit dea94d7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- fix/*
pull_request:

jobs:
Expand Down Expand Up @@ -63,7 +64,15 @@ jobs:
- name: Copy files to results bucket
run: aws s3 cp ./results s3://cellpack-results/${{ github.ref_name }}/ --recursive --acl public-read
- uses: iterative/setup-cml@v1
- name: Update comment
- name: Update comment for dependabot
if: ${{ github.actor == 'dependabot[bot]' }}
env:
REPO_TOKEN: ${{ secrets.DEPENDABOT_TOKEN }}
run: |
cml comment update --watermark-title="{workflow} report" ./results/analysis_report.md --target=pr
cat ./results/analysis_report.md
- name: Update comment for PR
if: ${{ github.actor != 'dependabot[bot]' }}
env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down

0 comments on commit dea94d7

Please sign in to comment.