1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2025-02-14 02:00:11 +02:00

Patch potential security issues on CI (#12734)

This commit is contained in:
Álvaro Mondéjar Rubio 2025-02-09 23:51:04 +01:00 committed by GitHub
parent 555165464d
commit b7c596ee94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 5 deletions

View File

@ -89,8 +89,10 @@ jobs:
run: |
set -e
tag="${{ steps.get-version.outputs.version }}"
git tag -a "${tag}" -m "${{ steps.commit.outputs.git-message }}"
git tag -a "${tag}" -m "$GIT_MESSAGE"
git push origin "${tag}"
env:
GIT_MESSAGE: ${{ steps.commit.outputs.git-message }}
- name: Create release
uses: softprops/action-gh-release@v2
env:

View File

@ -83,11 +83,10 @@ jobs:
if: steps.pr.outputs.is_normal == 'true' && steps.changes.outputs.docs != 'true'
run: sed -i "s/'\*\*\/\*\.md'/README.md/" package.json
- name: Run linter
run: |
npm run lint \
--icons='${{ steps.changes.outputs.icons_files }}' \
--docs='${{ steps.changes.outputs.docs_files }}'
run: npm run lint --icons="$ICONS_FILES" --docs='$DOCS_FILES'
env:
ICONS_FILES: ${{ steps.changes.outputs.icons_files }}
DOCS_FILES: ${{ steps.changes.outputs.docs_files }}
# Authorise GitHub API requests for editorconfig-checker
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check documentation links