Skip to content

Commit dbc7d3b

Browse files
authored
Ensure dependabot notifies of new versions (#26)
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
1 parent ddc3438 commit dbc7d3b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/dependabot_hack.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Dependabot hack
3+
on: # yamllint disable-line rule:truthy
4+
push:
5+
branches:
6+
- never-trigger-this-dependabot-hack-workflow
7+
8+
jobs:
9+
10+
dependabot_hack:
11+
name: Ensure dependabot version checks
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: agilepathway/label-checker:v1.0.8

0 commit comments

Comments
 (0)