Skip to content

Commit

Permalink
Update secure_assets.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stargazer4 authored May 2, 2024
1 parent 5874ddf commit 632f30b
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/secure_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,8 @@ jobs:
fs.writeFileSync('assets.txt', `Issue/PR link: ${issueOrPrLink}\nRepo name: ${repoName}`);
}
- name: Commit and push if changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add -A
if git diff --staged --quiet; then
echo "No changes to commit"
else
git commit -m "Add assets.txt"
git push
fi
- name: Upload assets.txt
uses: actions/upload-artifact@v2
with:
name: assets.txt
path: ./assets.txt

0 comments on commit 632f30b

Please sign in to comment.