File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed
Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change 5656 run : |
5757 git checkout main
5858 git branch -D $BRANCH_NAME
59-
60- - name : Commit changes if tests pass
61- if : steps.tests.outcome == 'success'
62- run : |
63- git config --local user.email "github-actions[bot]@users.noreply.github.com"
64- git config --local user.name "github-actions[bot]"
65- git add tests/mocks/data/
66- git commit -m "chore: update mock data [skip ci]"
67- git push origin $BRANCH_NAME
68-
69- - name : Create PR if tests pass
70- if : steps.tests.outcome == 'success'
71- uses : actions/github-script@v7
72- with :
73- script : |
74- github.rest.pulls.create({
75- owner: context.repo.owner,
76- repo: context.repo.repo,
77- title: '📦 Update mock data',
78- body: 'This PR updates the mock data used in tests.',
79- head: process.env.BRANCH_NAME,
80- base: 'main'
81- })
You can’t perform that action at this time.
0 commit comments