-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |