Skip to content

Commit 8b02672

Browse files
committed
use PAT token to trigger push event
1 parent 86738ba commit 8b02672

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/Nightly.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ on:
1919
required: false
2020
default: ''
2121
type: 'string'
22-
schedule:
23-
- cron: "17 0 * * *"
2422

2523
name: Vendor upstream DuckDB sources
2624

@@ -41,6 +39,7 @@ jobs:
4139
- uses: actions/checkout@v4
4240
with:
4341
fetch-depth: 0
42+
token: ${{ secrets.PAT_TOKEN }}
4443

4544
- uses: actions/checkout@v4
4645
with:
@@ -80,13 +79,3 @@ jobs:
8079
- if: steps.vendor.outputs.vendor != '' && github.event_name != 'pull_request'
8180
run: |
8281
git push -u origin HEAD
83-
84-
- name: Wait for push to complete
85-
if: steps.vendor.outputs.vendor != '' && github.event_name != 'pull_request'
86-
run: sleep 10 # Give GitHub a moment to process the push
87-
88-
rebuild:
89-
needs: vendor
90-
if: ${{ needs.vendor.outputs.did_vendor != '' }}
91-
uses: ./.github/workflows/Java.yml
92-
secrets: inherit

0 commit comments

Comments
 (0)