diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 557e7ef..a3ec67d 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -5,6 +5,10 @@ on: types: [ opened, synchronize, edited, reopened ] branches: [ master ] +permissions: + contents: read + pull-requests: write + jobs: checks: name: PR Checks @@ -18,6 +22,10 @@ jobs: uses: moonrepo/setup-toolchain@v0 with: auto-install: true + - name: Configure Git + run: | + git config --global user.name "github-actions[bot]" + git config --global user.email "github-actions[bot]@users.noreply.github.com" - name: Validate PR title run: cog verify "${{ github.event.pull_request.title }}" - name: Run moon CI tasks diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..e69de29