diff --git a/.github/workflows/automation-autorelease.yml b/.github/workflows/automation-autorelease.yml index 24081f5..f255e7c 100644 --- a/.github/workflows/automation-autorelease.yml +++ b/.github/workflows/automation-autorelease.yml @@ -1,5 +1,6 @@ name: autorelease on: + workflow_dispatch: {} schedule: # check at 11am every day - cron: "0 11 * * *" @@ -7,6 +8,7 @@ jobs: autorelease: name: autorelease runs-on: ubuntu-latest + if: ${{ github.ref == 'refs/heads/main' }} steps: - name: Get Token id: app-token diff --git a/.github/workflows/periodic-renovate.yml b/.github/workflows/periodic-renovate.yml index f6de065..949feb6 100644 --- a/.github/workflows/periodic-renovate.yml +++ b/.github/workflows/periodic-renovate.yml @@ -7,6 +7,7 @@ on: jobs: renovate: runs-on: ubuntu-latest + if: ${{ github.ref == 'refs/heads/main' }} steps: - name: Get Renovate GitHub App Token id: app-token