Skip to content

Commit

Permalink
Ensure dependabot notifies of new versions (#26)
Browse files Browse the repository at this point in the history
Dependabot does not currently update [references to Docker
Containers][1] in GitHub Actions.  So this is a hack to ensure that
Dependabot still notifies us (via Pull Requests) whenever the [Label
Checker][2] is updated.

We never want this fake GitHub Action to be triggered (because the
Dependabot doesn't need the action to be triggered in order to carry out
it's version updating), so we have set it to only ever trigger on a
branch name which we will never have.

The PR that Dependabot creates will only have the update for this file,
so we'll have to then manually update the version in the
`check_semver_labels.yml` too.

[1]: https://dependabot.com/github-actions/
[2]: https://github.com/agilepathway/label-checker
  • Loading branch information
johnboyes committed Aug 10, 2020
1 parent ddc3438 commit dbc7d3b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/dependabot_hack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Dependabot hack
on: # yamllint disable-line rule:truthy
push:
branches:
- never-trigger-this-dependabot-hack-workflow

jobs:

dependabot_hack:
name: Ensure dependabot version checks
runs-on: ubuntu-latest
steps:
- uses: agilepathway/label-checker:v1.0.8

0 comments on commit dbc7d3b

Please sign in to comment.