Skip to content

Commit 40bb780

Browse files
authored
Merge pull request #4627 from owncloud/fix/fix_sbom_pushing_thing
fix: add step to check ssh permissions
2 parents 3775c34 + 3f075b2 commit 40bb780

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/sbom.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ jobs:
1919
uses: actions/checkout@v4
2020
with:
2121
ssh-key: ${{ secrets.DEPLOYMENT_SSH_KEY }}
22+
persist-credentials: false
23+
24+
- name: Check SSH push permissions (dry-run)
25+
run: |
26+
git remote set-url origin git@github.com:${{ github.repository }}.git
27+
git push --dry-run origin HEAD
2228
2329
# Cache Gradle dependencies for faster builds
2430
- name: Cache Gradle dependencies

0 commit comments

Comments
 (0)