Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: disable the workflow_dispatch trigger for the JuliaFormatter action #472

Merged
merged 1 commit into from
Oct 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/format_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches:
- master
workflow_dispatch:
# workflow_dispatch: # intentionally disabled
jobs:
format_pr:
runs-on: ubuntu-latest
Expand All @@ -23,7 +23,8 @@ jobs:
commit-message: '🤖 Automatically format the source code files'
title: '🤖 Automatically format the source code files'
body: 'This pull request formats the source code files using the JuliaFormatter package.'
branch: bot/format_pr/${{ github.ref }}
# branch: bot/format_pr/${{ github.ref }} # broken, for some reason
branch: bot/format_pr/master # okay to hardcode master, since we disabled workflow_dispatch
delete-branch: true
- run: echo "The pull request number is ${{ steps.create_pr.outputs.pull-request-number }}"
- run: echo "The pull request URL is ${{ steps.create_pr.outputs.pull-request-url }}"