Skip to content

Commit 75996ea

Browse files
Update msdo-reusable.yml
cloning actions/checkout, checks out correct branch, and allows it to be used by runner
1 parent c898204 commit 75996ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/msdo-reusable.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
security-events: write
2525

2626
steps:
27-
- name: Checkout repository
28-
uses: theangrytech-git/checkout@main
29-
with:
30-
ref: ${{ inputs.branch }}
27+
- name: Manually checkout repository (internal-safe)
28+
run: |
29+
git clone https://github.com/${{ github.repository }} .
30+
git checkout ${{ inputs.branch }}
3131
3232
- name: Set environment variables for tools
3333
shell: pwsh

0 commit comments

Comments
 (0)