Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix auto-updates using bot token #264

Merged
merged 4 commits into from
Nov 8, 2019
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.