We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c5c82c commit fa40480Copy full SHA for fa40480
.github/workflows/main.yml
@@ -0,0 +1,23 @@
1
+name: Manual Dependabot Update
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ dependabot:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout the repo
11
+ uses: actions/checkout@v2
12
+ with:
13
+ ref: 'NVSHAS-8744' # 这里指定了始终检出 main 分支
14
15
+ - name: Setup repo with fake secret (trigger Dependabot)
16
+ env:
17
+ FAKE_SECRET: ${{ secrets.FAKE_SECRET }}
18
+ run: |
19
+ sed -i 's/FAKE_SECRET/'"$FAKE_SECRET"'/g' .github/dependabot.yml
20
+ git config user.name 'github-actions[bot]'
21
+ git config user.email 'github-actions[bot]@users.noreply.github.com'
22
+ git commit -am "Trigger Dependabot" --allow-empty
23
+ git push origin main
0 commit comments