Skip to content

Commit

Permalink
add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
h7io committed Apr 8, 2022
1 parent 3311149 commit 7e670c9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/update-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# adapted from https://github.com/flathub/com.github.wwmm.easyeffects/blob/master/.github/workflows/update-beta.yml
name: Check for nightly updates in beta branch
on:
schedule:
- cron: "0 5,6 * * *" # run twice very 24 hours, a scheduled workflow only runs if in the default branch.
# We need to run a second time so it can be automatically merged.
workflow_dispatch:

jobs:
flatpak-external-data-checker:
runs-on: ubuntu-latest
container:
image: ghcr.io/flathub/flatpak-external-data-checker

steps:
- uses: actions/checkout@v2
with:
ref: beta # with this workflow, f-e-d-c will specifically checkout and submit a PR against beta, not master.

- uses: docker://ghcr.io/flathub/flatpak-external-data-checker:latest
env:
GIT_AUTHOR_NAME: Flatpak External Data Checker
GIT_COMMITTER_NAME: Flatpak External Data Checker
GIT_AUTHOR_EMAIL: ${{ github.actor }}@users.noreply.github.com
GIT_COMMITTER_EMAIL: ${{ github.actor }}@users.noreply.github.com
EMAIL: ${{ github.actor }}@users.noreply.github.com
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: --update --never-fork im.riot.Riot.yaml

0 comments on commit 7e670c9

Please sign in to comment.