File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 1
1
name : Sync packages
2
2
3
3
on :
4
- pull_request :
5
- branches :
6
- - main
7
- - packages-launch
8
4
schedule :
9
5
- cron : ' 0 0 * * 0' # At 00:00 on Sunday.
10
6
workflow_dispatch : # Allow manual triggering
32
28
env :
33
29
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34
30
35
- - name : Check for changes
36
- run : |
37
- echo "Checking for changes in registry files..."
38
- git status --porcelain apps/svelte.dev/src/lib/server/generated/registry/
39
- echo "Git status exit code: $?"
40
-
41
31
- name : Create or update pull request
42
- id : cpr
43
32
uses : peter-evans/create-pull-request@v7
44
33
with :
45
34
commit-message : ' (AUTO) Update packages data'
48
37
base : main
49
38
branch : ci/update-packages-data
50
39
delete-branch : true
51
- add-paths : |
52
- apps/svelte.dev/src/lib/server/generated/registry/*.json
53
-
54
- - name : Check outputs
55
- run : |
56
- echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
57
- echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
You can’t perform that action at this time.
0 commit comments