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:
parent
555165464d
commit
b7c596ee94
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@ -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:
|
||||
|
7
.github/workflows/verify.yml
vendored
7
.github/workflows/verify.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user