Skip to content

Commit 1ac17ff

Browse files
committed
Fix copy-rules-to-wcag workflow
1 parent 7484cc9 commit 1ac17ff

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/copy-rules-to-wcag.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,17 @@ jobs:
2929
DESTINATION_FILENAME: guidelines/act-mapping.json
3030
COMMIT_MESSAGE: ACT rules update from https://github.com/${{ github.repository }}/commit/${{ github.sha }}
3131
steps:
32-
3332
- name: Checkout
34-
uses: actions/checkout@v2
33+
uses: actions/checkout@v4
3534
with:
3635
path: this
3736

3837
- name: Clone ${{ env.DESTINATION_REPO }} and copy ${{ env.SOURCE_FILENAME }}
3938
env:
40-
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} # add as PAT (https://github.com/settings/tokens) as a secret
39+
W3CGRUNTBOT_TOKEN: ${{ secrets.W3CGRUNTBOT_TOKEN }} # add as PAT (https://github.com/settings/tokens) as a secret
4140
run: |
4241
echo "Cloning $DESTINATION_REPO git repository"
43-
git clone --single-branch --branch $DESTINATION_BRANCH "https://$API_TOKEN_GITHUB@github.com/$DESTINATION_REPO.git" wcag
42+
git clone --single-branch --branch $DESTINATION_BRANCH "https://$W3CGRUNTBOT_TOKEN@github.com/$DESTINATION_REPO.git" wcag
4443
cp "this/$SOURCE_FILENAME" "wcag/$DESTINATION_FILENAME"
4544
4645
- name: Commit and push

0 commit comments

Comments
 (0)