diff --git a/.github/workflows/update-catch.yaml b/.github/workflows/update-catch.yaml index c29b0ca1e4..1fe7d2c603 100644 --- a/.github/workflows/update-catch.yaml +++ b/.github/workflows/update-catch.yaml @@ -3,8 +3,14 @@ on: workflow_dispatch: schedule: - cron: '0 10 1/16 * *' +permissions: + contents: read + jobs: updateCatch: + permissions: + contents: write # for peter-evans/create-pull-request to create branch + pull-requests: write # for peter-evans/create-pull-request to create a PR if: ${{ github.repository == 'mlpack/mlpack' }} runs-on: ubuntu-latest steps: diff --git a/.github/workflows/update-cli11.yaml b/.github/workflows/update-cli11.yaml index bb44ca0727..21d3f917ed 100644 --- a/.github/workflows/update-cli11.yaml +++ b/.github/workflows/update-cli11.yaml @@ -3,8 +3,14 @@ on: workflow_dispatch: schedule: - cron: '0 10 1/16 * *' +permissions: + contents: read + jobs: updateCLI11: + permissions: + contents: write # for peter-evans/create-pull-request to create branch + pull-requests: write # for peter-evans/create-pull-request to create a PR if: ${{ github.repository == 'mlpack/mlpack' }} runs-on: ubuntu-latest steps: