File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 schedule :
55 # Run every day at midnight UTC
66 - cron : ' 0 0 * * *'
7+ push :
78 workflow_dispatch :
89 inputs :
910 sentry_only :
@@ -78,22 +79,31 @@ jobs:
7879 fi
7980 done
8081
82+ - name : Set PR metadata
83+ id : pr-meta
84+ run : |
85+ if [ "${{ inputs.sentry_only }}" = "true" ]; then
86+ echo "title=chore(e2e): Update @sentry/* in lockfiles" >> $GITHUB_OUTPUT
87+ echo "commit=chore(e2e): update @sentry/* in lockfiles" >> $GITHUB_OUTPUT
88+ echo "body=Automated update of @sentry/* packages in E2E test application lockfiles after release." >> $GITHUB_OUTPUT
89+ else
90+ echo "title=chore(e2e): Update pnpm lockfiles" >> $GITHUB_OUTPUT
91+ echo "commit=chore(e2e): update pnpm lockfiles" >> $GITHUB_OUTPUT
92+ echo "body=Automated daily update of E2E test application lockfiles." >> $GITHUB_OUTPUT
93+ fi
94+
8195 - name : Create Pull Request
8296 id : create-pr
8397 uses : peter-evans/create-pull-request@v7
8498 with :
8599 branch : chore/update-e2e-lockfiles
86100 delete-branch : true
87- title :
88- " ${{ inputs.sentry_only && 'chore(e2e): Update @sentry/* in lockfiles' || 'chore(e2e): Update pnpm
89- lockfiles' }}"
90- body :
91- " ${{ inputs.sentry_only && 'Automated update of @sentry/* packages in E2E test application lockfiles after
92- release.' || 'Automated daily update of E2E test application lockfiles.' }}\n\n This PR updates the
93- pnpm-lock.yaml files in all E2E test applications."
94- commit-message :
95- " ${{ inputs.sentry_only && 'chore(e2e): update @sentry/* in lockfiles' || 'chore(e2e): update pnpm
96- lockfiles' }}"
101+ title : ${{ steps.pr-meta.outputs.title }}
102+ body : |
103+ ${{ steps.pr-meta.outputs.body }}
104+
105+ This PR updates the `pnpm-lock.yaml` files in all E2E test applications.
106+ commit-message : ${{ steps.pr-meta.outputs.commit }}
97107 labels : |
98108 CI & Build
99109
You can’t perform that action at this time.
0 commit comments