Skip to content

Commit

Permalink
ci: checkout repo using custom token (#8573)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcansh authored Jan 10, 2022
1 parent 9cc4213 commit 876bdf4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- dev

jobs:
format:
Expand All @@ -15,6 +16,8 @@ jobs:

- name: Checkout Repository
uses: actions/checkout@v2
with:
token: ${{ secrets.FORMAT_TOKEN }}

- name: Use Node.js
uses: actions/setup-node@v2
Expand All @@ -29,7 +32,7 @@ jobs:

- name: Commit
run: |
git config --local user.email "github-actions@remix.run"
git config --local user.email "hello@remix.run"
git config --local user.name "Remix Run Bot"
git add .
Expand Down

0 comments on commit 876bdf4

Please sign in to comment.