Merge pull request #1251 from j8r/remove-if-condition

Remove if condition in workflow
This commit is contained in:
Lctrs 2022-10-29 14:33:27 +00:00 committed by GitHub
commit 8d3d75eb7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@ name: Check for updates
on: on:
schedule: # for scheduling to work this file must be in the default branch schedule: # for scheduling to work this file must be in the default branch
- cron: "30 0 * * *" # Every day at 00:30 - cron: "30 0 * * *" # Every day at 00:30
- cron: "30 1 * * *" # merge the next hour - cron: "30 1 * * *"
workflow_dispatch: # can be manually dispatched under GitHub's "Actions" tab workflow_dispatch: # can be manually dispatched under GitHub's "Actions" tab
jobs: jobs:
@ -10,9 +10,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Prevent the retrieval of newer commits
if: github.event.schedule == '30 1 * * *'
run: "sed -i '/^ branch: master/d' net.rpcs3.RPCS3.yaml"
- uses: docker://ghcr.io/flathub/flatpak-external-data-checker:latest - uses: docker://ghcr.io/flathub/flatpak-external-data-checker:latest
env: env:
GIT_AUTHOR_NAME: Flatpak External Data Checker GIT_AUTHOR_NAME: Flatpak External Data Checker