Skip to content

Commit b80dc38

Browse files
committed
feat: update GitHub Actions workflow to disable credential persistence and add authentication step
1 parent 76b16ce commit b80dc38

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,13 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v3
2424
with:
25-
persist-credentials: true
25+
persist-credentials: false
2626
fetch-depth: 0
27+
- uses: frankdejonge/use-github-token@1.0.2
28+
with:
29+
authentication: 'username:${{ secrets.PERSONAL_GITHUB_TOKEN }}'
30+
user_name: 'Programic Bot'
31+
user_email: 'development@programic.com'
2732
- name: Cache splitsh
2833
uses: actions/cache@v4
2934
with:

packages/php-linting-rules/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@
3737
}
3838
}
3939
}
40+

0 commit comments

Comments
 (0)