Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/megalinter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.head_ref || '' }}
persist-credentials: false
- name: MegaLinter
uses: oxsecurity/megalinter/flavors/documentation@v9
env:
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/semantic-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,27 +38,26 @@ jobs:
with:
app-id: ${{ inputs.GH_SEM_REL_APP_ID }}
private-key: ${{ secrets.GH_SEM_REL_APP_PEM_FILE }}
repositories: ${{ github.repository }}
permission-contents: write
permission-issues: write
permission-pull-requests: write
- name: Checkout repository
uses: actions/checkout@v7
with:
token: ${{ steps.gh-app-token.outputs.token || secrets.GITHUB_TOKEN }}
fetch-depth: 0
persist-credentials: true
- name: Set up Node.js
uses: actions/setup-node@v7
with:
node-version: 'lts/*'
- name: Install Semantic Release
env:
SEMANTIC_RELEASE_PLUGINS: ${{ inputs.semantic_release_plugins }}
run: >
npm install
--ignore-scripts
semantic-release
conventional-changelog-conventionalcommits
@semantic-release/changelog
@semantic-release/git
semantic-release-major-tag
$SEMANTIC_RELEASE_PLUGINS
run: |
mapfile -t plugins <<< "$SEMANTIC_RELEASE_PLUGINS"
npm install --ignore-scripts semantic-release conventional-changelog-conventionalcommits @semantic-release/changelog @semantic-release/git semantic-release-major-tag "${plugins[@]}"
- name: Verify Semantic Release
run: npm audit signatures
- name: Run Semantic Release
Expand Down
2 changes: 2 additions & 0 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
ENABLE:
- ACTION
- MARKDOWN
ACTION_ZIZMOR_UNSECURED_ENV_VARIABLES:
- GITHUB_TOKEN
# CHANGELOG.md is generated by semantic-release
MARKDOWN_FILTER_REGEX_EXCLUDE: "(CHANGELOG\\.md)"
SHOW_ELAPSED_TIME: true
Expand Down
6 changes: 6 additions & 0 deletions zizmor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
rules:
unpinned-uses:
config:
policies:
"*": ref-pin