Skip to content

Commit 7321020

Browse files
committed
revert changes
1 parent ba3ae3c commit 7321020

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

.github/workflows/upgrade-main.yml

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,10 @@ on:
44
workflow_dispatch: {}
55
schedule:
66
- cron: 0 9 * * 2 # every Tuesday at 9am
7-
permissions:
8-
contents: write
9-
pull-requests: write
107
jobs:
118
upgrade:
129
name: Upgrade
1310
runs-on: ubuntu-latest
14-
outputs:
15-
patch_created: ${{ steps.create_patch.outputs.patch_created }}
1611
steps:
1712
- name: Checkout
1813
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
@@ -24,36 +19,6 @@ jobs:
2419
run: yarn install --check-files --frozen-lockfile
2520
- name: Upgrade dependencies
2621
run: npx projen upgrade
27-
- name: Find mutations
28-
id: create_patch
29-
run: |-
30-
git add .
31-
git diff --staged --patch --exit-code > .repo.patch || echo "patch_created=true" >> "${GITHUB_OUTPUT}"
32-
- name: Upload patch
33-
if: steps.create_patch.outputs.patch_created
34-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
35-
with:
36-
name: .repo.patch
37-
path: .repo.patch
38-
pr:
39-
name: Create Pull Request
40-
needs: upgrade
41-
runs-on: ubuntu-latest
42-
if: ${{ needs.upgrade.outputs.patch_created }}
43-
steps:
44-
- name: Checkout
45-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
46-
- name: Download patch
47-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
48-
with:
49-
name: .repo.patch
50-
path: ${{ runner.temp }}
51-
- name: Apply patch
52-
run: '[ -s ${{ runner.temp }}/.repo.patch ] && git apply ${{ runner.temp }}/.repo.patch || echo "Empty patch. Skipping."'
53-
- name: Set git identity
54-
run: |-
55-
git config user.name "svc-apix-bot"
56-
git config user.email "[email protected]"
5722
- name: Create Pull Request
5823
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
5924
with:
@@ -63,6 +28,3 @@ jobs:
6328
delete-branch: true
6429
branch: upgrade-dependencies
6530
body: "Upgrades project dependencies. See details in [workflow run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})"
66-
author: svc-apix-bot <[email protected]>
67-
committer: svc-apix-bot <[email protected]>
68-
signoff: true

0 commit comments

Comments
 (0)