diff --git a/.github/workflows/add-quarterly-gh-requests.yml b/.github/workflows/add-quarterly-gh-requests.yml index d25aff0..8c61654 100644 --- a/.github/workflows/add-quarterly-gh-requests.yml +++ b/.github/workflows/add-quarterly-gh-requests.yml @@ -4,6 +4,9 @@ on: - cron: 0 0 1 1,4,7,10 * workflow_dispatch: {} +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + jobs: create_issue: name: Create quarterly issues @@ -23,5 +26,3 @@ jobs: --title "Quarterly repo-checks.py Run" \ --label "github-request" \ --body "It is time to perform the quartely run of \`repo-checks.py\` for the \`openedx\` org. Instructions for running the script can be found [here](https://github.com/openedx/repo-tools/tree/master/edx_repo_tools/repo_checks#usage)." - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/add-weekly-gh-requests.yml b/.github/workflows/add-weekly-gh-requests.yml index ffe9805..eea21f6 100644 --- a/.github/workflows/add-weekly-gh-requests.yml +++ b/.github/workflows/add-weekly-gh-requests.yml @@ -1,9 +1,12 @@ name: Create weekly issues on: schedule: - - cron: 0 0 * * 0 + - cron: 0 0 * * 0 workflow_dispatch: {} +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + jobs: create_issue: name: Create weeksly issues @@ -16,5 +19,3 @@ jobs: --title "Welcome new discourse members" \ --label "github-request" \ --body "Go through [new discourse introductions](https://discuss.openedx.org/c/community/introductions/18) and welcome new people to the community." - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}