Skip to content

Commit

Permalink
Fix auto-updates using bot token (#264)
Browse files Browse the repository at this point in the history
* Fix auto-updates using bot token

* restore cron

* Rename to GITHUB_BOT_TOKEN
  • Loading branch information
osterman committed Nov 8, 2019
1 parent df234c9 commit df27e37
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Auto Assign'
name: 'auto-assign'
on: pull_request

jobs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Labeler
name: auto-label
on: [pull_request]

jobs:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/auto-update.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Auto Updater
name: 'auto-update'

# Enable `pull_request` for debugging
#on: [pull_request]
Expand All @@ -16,7 +16,7 @@ jobs:
- name: Update packages
shell: bash
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
GITHUB_TOKEN: "${{ secrets.GITHUB_BOT_TOKEN }}"
id: vars
run: |
make -C vendor auto-update RATE_LIMIT=0.5
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Create Pull Request
uses: cloudposse/actions/github/create-pull-request@0.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_BOT_TOKEN }}
COMMIT_MESSAGE: update packages
PULL_REQUEST_TITLE: Automated Package Updates
PULL_REQUEST_BODY: This is an auto-generated PR with dependency updates.
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/branch-cleanup.yml

This file was deleted.

0 comments on commit df27e37

Please sign in to comment.