From 14bb53d43a2ac976ca7536d75de149ae4bb45680 Mon Sep 17 00:00:00 2001 From: Nanne Baars Date: Wed, 29 Sep 2021 19:00:29 +0200 Subject: [PATCH] Add action to warn against PR against master (should be develop) --- .github/workflows/master_branch_pr.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/master_branch_pr.yml b/.github/workflows/master_branch_pr.yml index 7123e33b9..a184aa71b 100644 --- a/.github/workflows/master_branch_pr.yml +++ b/.github/workflows/master_branch_pr.yml @@ -8,11 +8,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: wow-actions/auto-comment@v1 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - pullRequestOpened: | - 👋 @{{ author }} - It looks like this pull request has been made against the ${{github.event.pull_request.head.repo.full_name}} `master` branch. - Since we use Git Flow all commits to master are through are from the develop branch. - You do not need to close this PR, you can change the target branch to `development` by clicking the _"Edit"_ button at the top of this page. \ No newline at end of file + pullRequestOpened: | + 👋 @{{ author }} + It looks like this pull request has been made against the ${{github.event.pull_request.head.repo.full_name}} `master` branch. + Since we use Git Flow all commits to master are through are from the develop branch. + You do not need to close this PR, you can change the target branch to `development` by clicking the _"Edit"_ button at the top of this page. \ No newline at end of file