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

Use dependabot #25

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
20 changes: 20 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,26 @@ jobs:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# ATOM_ACCESS_TOKEN: ${{ secrets.ATOM_ACCESS_TOKEN }}

# Automerge:
# needs: [Test, Lint]
# runs-on: ubuntu-latest
# if: |
# github.actor == 'dependabot[bot]' &&
# github.event_name == 'pull_request' &&
# startsWith(github.event.pull_request.title, 'chore(deps-dev):')
# steps:
# - name: '@dependabot merge'
# uses: actions/github-script@v2
# with:
# github-token: ${{secrets.GH_TOKEN}}
# script: |
# await github.issues.createComment({
# owner: context.payload.repository.owner.login,
# repo: context.payload.repository.name,
# issue_number: context.payload.pull_request.number,
# body: '@dependabot merge'
# })
Comment on lines +77 to +95
Copy link
Member Author

@UziTech UziTech Jul 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto Merge would require a token with public_repo permission in secrets.GH_TOKEN

the default secrets.GITHUB_TOKEN won't work since it doesn't have push permission.


Skip:
if: contains(github.event.head_commit.message, '[skip ci]')
runs-on: ubuntu-latest
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/bump_deps.yml

This file was deleted.