Skip to content

Commit e1b8b9e

Browse files
authored
Revert "chore: add pre-commit downstream workflows" (#409)
Revert "chore: add pre-commit downstream workflows (#386)" This reverts commit ad9c600.
1 parent a933bc4 commit e1b8b9e

File tree

3 files changed

+0
-28
lines changed

3 files changed

+0
-28
lines changed

.github/workflows/lint.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010
- main
1111
- develop
1212
merge_group:
13-
workflow_call:
1413

1514
concurrency:
1615
group: (${{ github.workflow }}-${{ github.event.inputs.branch || github.event.pull_request.head.ref }})

.github/workflows/pre-commit-autoupdate.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,40 +10,14 @@ on:
1010
jobs:
1111
auto-update:
1212
runs-on: ubuntu-latest
13-
outputs:
14-
diff: ${{ steps.check-diff.outputs.diff }}
1513
steps:
1614
- uses: actions/checkout@v4
1715
- uses: actions/setup-python@v5
1816
- uses: browniebroke/pre-commit-autoupdate-action@main
1917
- uses: peter-evans/create-pull-request@v6
20-
id: pr-create
2118
with:
2219
token: ${{ secrets.GITHUB_TOKEN }}
2320
branch: update/pre-commit-hooks
2421
title: Update pre-commit hooks
2522
commit-message: "chore: update pre-commit hooks"
2623
body: Update versions of pre-commit hooks to latest version.
27-
- name: Set outputs
28-
id: check-diff
29-
if: |
30-
(steps.pr-create.outputs.pull-request-operation == 'created' ||
31-
steps.pr-create.outputs.pull-request-operation == 'updated') &&
32-
steps.pr-create.outputs.pull-request-number
33-
run: |
34-
echo "diff=true" >> "$GITHUB_OUTPUT"
35-
echo "PR status: ${{ steps.pr-create.outputs.pull-request-operation }}"
36-
echo "PR number: ${{ steps.pr-create.outputs.pull-request-number }}"
37-
echo "Running workflows for ${{ steps.pr-create.outputs.pull-request-url }}"
38-
39-
lint-workflow:
40-
name: Run lint
41-
needs: auto-update
42-
if: ${{ needs.auto-update.outputs.diff }}
43-
uses: ./.github/workflows/lint.yml
44-
45-
test-workflow:
46-
name: run tests on diff
47-
needs: auto-update
48-
if: ${{ needs.auto-update.outputs.diff }}
49-
uses: ./.github/workflows/test.yml

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ on:
1414
- develop
1515
- "[0-9]+.[0-9]+.x"
1616
merge_group:
17-
workflow_call:
1817

1918
concurrency:
2019
group: ${{ github.workflow }}-${{ github.ref }}

0 commit comments

Comments
 (0)