Skip to content

Commit

Permalink
ci: Remove workflow dispatch runs for devbox updates
Browse files Browse the repository at this point in the history
This does not create PR checks unfortunately.
  • Loading branch information
jimmidyson committed Jan 22, 2024
1 parent 12a734f commit e5f29d6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
name: checks

on:
workflow_dispatch:
push:
branches:
- main
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/devbox-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,3 @@ jobs:
gh pr merge --auto --squash "$pr_url"
echo "pr_number=$(gh pr view --json number --jq .number scheduled-devbox-update-main)" >>"${GITHUB_OUTPUT}"
- if: steps.devbox-versions-changed.outputs.number_changed > 0
name: Run release workflow
uses: benc-uk/workflow-dispatch@v121
with:
workflow: checks.yml
ref: "refs/pull/${{ steps.commit-and-create-pr.outputs.pr_number }}/head"

- if: steps.devbox-versions-changed.outputs.number_changed > 0
name: Run release workflow
uses: benc-uk/workflow-dispatch@v121
with:
workflow: stacked-prs.yml
ref: "refs/pull/${{ steps.commit-and-create-pr.outputs.pr_number }}/head"
1 change: 0 additions & 1 deletion .github/workflows/stacked-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ permissions:
statuses: write

on:
workflow_dispatch:
pull_request_target:
types: [opened, edited, reopened, synchronize]
merge_group:
Expand Down

0 comments on commit e5f29d6

Please sign in to comment.