Skip to content

Commit

Permalink
switch to spencer
Browse files Browse the repository at this point in the history
  • Loading branch information
flying-sheep committed Sep 18, 2024
1 parent 5ed3925 commit d62c112
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/dependabot-dedupe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,28 @@ jobs:
name: Dedupe Dependabot PRs
runs-on: ubuntu-latest
steps:
- name: Get bot token
id: create_token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.SPENCER_APP_ID }}
private_key: ${{ secrets.SPENCER_PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
token: ${{ steps.create_token.outputs.token }}
fetch-depth: 0
filter: blob:none
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: corepack enable
- name: git config
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- run: yarn dedupe
env:
HUSKY: 0
- name: git commit
run: |
git add yarn.lock
git commit -m '[dependabot skip] Dedupe dependencies' || true
- name: Commit autofixes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: '[dependabot skip] Dedupe dependencies'
commit_user_name: spencer-hobson[bot]
commit_user_email: 149329160+spencer-hobson[bot]@users.noreply.github.com
- run: git push

0 comments on commit d62c112

Please sign in to comment.