Skip to content

Commit

Permalink
Merge pull request #3 from Inria-Prosecco/catch-push-failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril authored Nov 14, 2024
2 parents d5de4e1 + 82abf3b commit 5ad03ff
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ jobs:
echo EOF
} >> "$GITHUB_ENV"
- name: push to main
if: ${{ github.event_name == 'schedule' }}
run: git push origin HEAD:main

- name: send zulip info message
uses: slackapi/slack-github-action@v1.25.0
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
Expand All @@ -150,16 +154,3 @@ jobs:
{ "text": "Unexpected Error: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" }
env:
SLACK_WEBHOOK_URL: ${{ secrets.ZULIP_WEBHOOK_URL }}

push_to_main:
needs: [hax, charon, eurydice, ml-kem, bertie, process_results]
runs-on: [self-hosted, linux, nix]
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
steps:
- name: checkout
uses: actions/checkout@v4
with:
ref: nightly

- name: push to main
run: git push origin HEAD:main

0 comments on commit 5ad03ff

Please sign in to comment.