Skip to content

Commit

Permalink
Update merge-upstream.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWert authored Oct 29, 2023
1 parent 8ba4beb commit 759d8ef
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/merge-upstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- cron: '23 0/3 * * *'

jobs:
merge-upstream:
merge_upstream:
runs-on: ubuntu-latest
steps:

Check failure on line 10 in .github/workflows/merge-upstream.yaml

View workflow job for this annotation

GitHub Actions / yamllint

10:11 [trailing-spaces] trailing spaces
- name: Checkout
Expand All @@ -19,3 +19,19 @@ jobs:
upstream: open-telemetry/opentelemetry-demo
upstream-branch: main
branch: main
notify-failure:
needs: [merge_upstream]
if: needs.merge_upstream.result != 'success'
runs-on: ubuntu-latest
steps:
- name: Slack notification

Check failure on line 27 in .github/workflows/merge-upstream.yaml

View workflow job for this annotation

GitHub Actions / yamllint

27:5 [indentation] wrong indentation: expected 6 but found 4
env:
SLACK_WEBHOOK: "${{ secrets.OTelSlackChannelWebhook }}"
SLACK_UNFURL_LINKS: "true"
uses: AlexanderWert/[email protected]
with:
args: |
:wave:
Auto-merge of the <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|elastic/opentelemetry-demo> repository with the upstream failed!
Manual resolution of the merge conflicts is required!

Check failure on line 37 in .github/workflows/merge-upstream.yaml

View workflow job for this annotation

GitHub Actions / yamllint

37:1 [trailing-spaces] trailing spaces

0 comments on commit 759d8ef

Please sign in to comment.