Skip to content

Commit

Permalink
Fix the bumper scheduled job
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi REY authored and rrey committed Apr 17, 2020
1 parent 983f6f7 commit 4133942
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker Image CI
name: Build

on:
push:
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/bumper.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
name: Bump versions in Dockerfile when detecting newer release
name: Bump tools version

on:
schedule:
- cron: "0 0 * * *"
- cron: "0 8 * * *"

jobs:
stale:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Run bumper.sh
run: ./hacks/bumper.sh

#- name: Create commits
# run: |
# git config user.name 'Automatic bumper'
# git config user.email '[email protected]'
# git add Dockerfile
# git commit -m "Automatic versions update"
run: $(git rev-parse --show-toplevel)/hacks/bumper.sh

- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
Expand Down

0 comments on commit 4133942

Please sign in to comment.