Skip to content

Commit e0265c1

Browse files
authored
Fix action authentication error: add a new PAT to dependabot secrets (#292)
* test dependabot PAT * remove test branch
1 parent 0b756e4 commit e0265c1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/analyze.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,15 @@ jobs:
6363
- name: Copy files to results bucket
6464
run: aws s3 cp ./results s3://cellpack-results/${{ github.ref_name }}/ --recursive --acl public-read
6565
- uses: iterative/setup-cml@v1
66-
- name: Update comment
66+
- name: Update comment for dependabot
67+
if: ${{ github.actor == 'dependabot[bot]' }}
68+
env:
69+
REPO_TOKEN: ${{ secrets.DEPENDABOT_TOKEN }}
70+
run: |
71+
cml comment update --watermark-title="{workflow} report" ./results/analysis_report.md --target=pr
72+
cat ./results/analysis_report.md
73+
- name: Update comment for PR
74+
if: ${{ github.actor != 'dependabot[bot]' }}
6775
env:
6876
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6977
run: |

0 commit comments

Comments
 (0)