Skip to content

Commit

Permalink
Merge pull request #122814 from jtojnar/staging-merge-comment
Browse files Browse the repository at this point in the history
.github/workflows/merge-staging.yml: Include branch in comment
  • Loading branch information
domenkozar committed May 14, 2021
2 parents 6220c3e + 6225647 commit a96c617
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/merge-staging.yml
Expand Up @@ -14,6 +14,7 @@ jobs:
- uses: actions/checkout@v2

- name: Merge master into staging-next
id: staging_next
uses: devmasx/merge-branch@v1.3.1
with:
type: now
Expand All @@ -22,6 +23,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Merge staging-next into staging
id: staging
uses: devmasx/merge-branch@v1.3.1
with:
type: now
Expand All @@ -35,5 +37,5 @@ jobs:
with:
issue-number: 105153
body: |
An automatic merge [failed](https://github.com/NixOS/nixpkgs/actions/runs/${{ github.run_id }}).
An automatic merge${{ (steps.staging_next.outcome == 'failure' && ' from master to staging-next') || ((steps.staging.outcome == 'failure' && ' from staging-next to staging') || '') }} [failed](https://github.com/NixOS/nixpkgs/actions/runs/${{ github.run_id }}).

0 comments on commit a96c617

Please sign in to comment.