From a59c75fa42c2e0ec1554bcab412d95323e4c3f94 Mon Sep 17 00:00:00 2001 From: Brian Kohan Date: Fri, 4 Oct 2024 17:34:03 -0700 Subject: [PATCH] try fix update CoC permissions --- .github/workflows/update_coc.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/update_coc.yml b/.github/workflows/update_coc.yml index 2aea537..d96f3db 100644 --- a/.github/workflows/update_coc.yml +++ b/.github/workflows/update_coc.yml @@ -14,13 +14,14 @@ on: schedule: - cron: '0 0 * * 0' -permissions: - contents: write - issues: write - pull-requests: write jobs: update_code_of_conduct: + permissions: + contents: write + issues: write + pull-requests: write + runs-on: ubuntu-latest steps: @@ -59,9 +60,9 @@ jobs: uses: peter-evans/create-pull-request@v7 with: token: ${{ secrets.GITHUB_TOKEN }} - branch: update-coc + branch: bot-update-coc add-paths: | CODE_OF_CONDUCT.md - title: "Update Code of Conduct" + title: "🤖 Update Code of Conduct 🤖" body: "Update the Code of Conduct with the latest version from the django-commons repository." commit-message: "Update CODE_OF_CONDUCT.md from django-commons"