Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jlebon committed Jun 11, 2021
1 parent baed7dc commit ec777c0
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/remove-graduated-overrides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: remove-graduated-overrides
on:
schedule:
- cron: '0 */6 * * *'
repository_dispatch:
types: do-something


jobs:
remove-graduated-overrides:
Expand All @@ -15,7 +18,7 @@ jobs:
matrix:
branch:
- testing-devel
- next-devel
#- next-devel
steps:
- run: dnf install -y rpm-ostree # see related TODO above
- name: Checkout
Expand All @@ -27,10 +30,19 @@ jobs:
git config user.name 'CoreOS Bot'
git config user.email [email protected]
ci/remove-graduated-overrides.py
- name: Push updated overrides
- name: Open pull request
run: |
if ! git diff --quiet --exit-code; then
git commit -am "lockfiles: drop graduated overrides" \
git commit -am "lockfiles: drop graduated overrides 🎓" \
-m "Triggered by remove-graduated-overrides GitHub Action."
git push
fi
- name: Open pull request
uses: peter-evans/[email protected]
with:
token: ${{ secrets.COREOSBOT_RELENG_TOKEN }}
branch: ${{ env.target_stream }}-graduation
push-to-fork: coreosbot-releng/fedora-coreos-config
title: "lockfiles: drop graduated overrides 🎓"
body: "Triggered by remove-graduated-overrides GitHub Action."
committer: "CoreOS Bot <[email protected]>"
author: "CoreOS Bot <[email protected]>"

0 comments on commit ec777c0

Please sign in to comment.