From 811cbd7fb69578785e7f62b7f550aeeb01ce518b Mon Sep 17 00:00:00 2001 From: fabasoad Date: Sat, 22 Nov 2025 23:21:21 +0900 Subject: [PATCH] fix: issue found by markdownlint --- .github/ISSUE_TEMPLATE/bug_report.md | 14 +++++++------- .github/ISSUE_TEMPLATE/feature_request.md | 8 ++++---- .github/dependabot.yml | 11 ----------- .github/workflows/linting.yml | 2 ++ .github/workflows/release.yml | 2 ++ .github/workflows/security.yml | 6 +++--- .github/workflows/sync-labels.yml | 4 ++++ .github/workflows/update-license.yml | 3 +++ .pre-commit-config.yaml | 2 +- 9 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 .github/dependabot.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 16cdd0b..f8a6ebf 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -6,32 +6,32 @@ labels: bug assignees: fabasoad --- -#### Describe the bug +## Describe the bug A clear and concise description of what the bug is. -#### Steps to Reproduce +## Steps to Reproduce 1. Run '...' 2. See error -#### Expected behavior +## Expected behavior A clear and concise description of what you expected to happen. -#### Actual behavior +## Actual behavior A clear and concise description of what is happening now. -#### Screenshots +## Screenshots If applicable, add screenshots to help explain your problem. -#### Technical information (please complete the following information) +## Technical information (please complete the following information) - OS: [e.g. Windows 10 Enterprise v.1909 (OS Build 18363.720)] - `setup-cobol-action` version [e.g. 1.0.0] -#### Additional context +## Additional context Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 5fb2426..407ee58 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -6,20 +6,20 @@ labels: enhancement assignees: fabasoad --- -#### Is your feature request related to a problem? Please describe +## Is your feature request related to a problem? Please describe A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -#### Describe the solution you'd like +## Describe the solution you'd like A clear and concise description of what you want to happen. -#### Describe alternatives you've considered +## Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. -#### Additional context +## Additional context Add any other context or screenshots about the feature request here. diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index e0622c9..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -version: 2 -updates: - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "monthly" - reviewers: - - "fabasoad" - labels: - - "dependencies" diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 6840366..7a9777a 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -11,3 +11,5 @@ jobs: pre-commit: name: Pre-commit uses: fabasoad/reusable-workflows/.github/workflows/wf-pre-commit.yml@main + permissions: + contents: read diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 88c77ed..83e3285 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,3 +10,5 @@ jobs: github: name: GitHub uses: fabasoad/reusable-workflows/.github/workflows/wf-github-release.yml@main + permissions: + contents: write diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index fcdd924..0156746 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -18,10 +18,10 @@ on: # yamllint disable-line rule:truthy jobs: sast: name: SAST + uses: fabasoad/reusable-workflows/.github/workflows/wf-security-sast.yml@main permissions: contents: read security-events: write - uses: fabasoad/reusable-workflows/.github/workflows/wf-security-sast.yml@main with: - code-scanning: ${{ (inputs.security-type || 'all') == 'all' || inputs.security-type == 'code-scanning' }} - sca: ${{ (inputs.security-type || 'all') == 'all' || inputs.security-type == 'sca' }} + code-scanning: ${{ contains(fromJSON('["all", "code-scanning"]'), github.event.inputs.security-type || 'all') }} + sca: ${{ contains(fromJSON('["all", "sca"]'), github.event.inputs.security-type || 'all') }} diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index 42caa8b..5e5343f 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -11,3 +11,7 @@ jobs: maintenance: name: Maintenance uses: fabasoad/reusable-workflows/.github/workflows/wf-sync-labels.yml@main + permissions: + contents: write + issues: write + pull-requests: write diff --git a/.github/workflows/update-license.yml b/.github/workflows/update-license.yml index 3b2f09d..07adda6 100644 --- a/.github/workflows/update-license.yml +++ b/.github/workflows/update-license.yml @@ -10,3 +10,6 @@ jobs: maintenance: name: Maintenance uses: fabasoad/reusable-workflows/.github/workflows/wf-update-license.yml@main + permissions: + contents: write + pull-requests: write diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index faa7a79..4313a33 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -53,7 +53,7 @@ repos: stages: ["pre-push"] # GitHub Actions - repo: https://github.com/rhysd/actionlint - rev: v1.7.8 + rev: v1.7.9 hooks: - id: actionlint args: ["-pyflakes="]