Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ee107f5

Browse filesBrowse files
committed
tools: do not checkout repo in auto-start-ci.yml
PR-URL: #61874 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im>
1 parent 4ca1597 commit ee107f5
Copy full SHA for ee107f5

1 file changed

+5-7Lines changed: 5 additions & 7 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/auto-start-ci.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/auto-start-ci.yml
+5-7Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ jobs:
4545
if: needs.get-prs-for-ci.outputs.numbers != ''
4646
runs-on: ubuntu-slim
4747
steps:
48-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
49-
with:
50-
persist-credentials: false
51-
5248
- name: Install Node.js
5349
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
5450
with:
@@ -62,14 +58,16 @@ jobs:
6258
ncu-config set username "$USERNAME"
6359
ncu-config set token "$GH_TOKEN"
6460
ncu-config set jenkins_token "$JENKINS_TOKEN"
65-
ncu-config set owner "${{ github.repository_owner }}"
66-
ncu-config set repo "$(echo ${{ github.repository }} | cut -d/ -f2)"
61+
ncu-config set owner "$GITHUB_REPOSITORY_OWNER"
62+
ncu-config set repo "$(echo "$GITHUB_REPOSITORY" | cut -d/ -f2)"
6763
env:
6864
USERNAME: ${{ secrets.JENKINS_USER }}
6965
GH_TOKEN: ${{ secrets.GH_USER_TOKEN }}
7066
JENKINS_TOKEN: ${{ secrets.JENKINS_TOKEN }}
7167

7268
- name: Start the CI
73-
run: ./tools/actions/start-ci.sh ${{ needs.get-prs-for-ci.outputs.numbers }}
69+
run: |
70+
curl -fsSL "https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/start-ci.sh" \
71+
| sh -s -- ${{ needs.get-prs-for-ci.outputs.numbers }}
7472
env:
7573
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.