-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
Signed-off-by: atulpatel261194 <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,51 @@ on: | |
pull_request: | ||
branches: [ main ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
call: | ||
uses: opiproject/actions/.github/workflows/linters.yml@main | ||
secrets: inherit | ||
markdown-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 0: GitHub-owned GitHubAction not pinned by hash
Click Remediation section below to solve this issue |
||
- name: Run tests | ||
run: docker run -v $PWD:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest --ignore=minutes --disable=MD013 "**/*.md" | ||
|
||
# - uses: avto-dev/[email protected] | ||
# with: | ||
# args: './*.md' | ||
|
||
docker-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 0: GitHub-owned GitHubAction not pinned by hash
Click Remediation section below to solve this issue |
||
- uses: hadolint/[email protected] | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 0: third-party GitHubAction not pinned by hash
Click Remediation section below to solve this issue |
||
with: | ||
recursive: true | ||
ignore: DL3018 | ||
|
||
shellcheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 0: GitHub-owned GitHubAction not pinned by hash
Click Remediation section below to solve this issue |
||
- uses: azohra/[email protected] | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 0: third-party GitHubAction not pinned by hash
Click Remediation section below to solve this issue |
||
|
||
YAMLlint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 0: GitHub-owned GitHubAction not pinned by hash
Click Remediation section below to solve this issue |
||
- uses: ibiqlik/action-yamllint@v3 | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 0: third-party GitHubAction not pinned by hash
Click Remediation section below to solve this issue |
||
with: | ||
file_or_dir: docker-compose.yml | ||
config_data: "{extends: default, rules: {line-length: disable}}" | ||
|
||
golangci: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 0: GitHub-owned GitHubAction not pinned by hash
Click Remediation section below to solve this issue |
||
- uses: actions/setup-go@v5 | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 0: GitHub-owned GitHubAction not pinned by hash
Click Remediation section below to solve this issue |
||
- uses: golangci/golangci-lint-action@v6 | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 0: third-party GitHubAction not pinned by hash
Click Remediation section below to solve this issue |
||
with: | ||
working-directory: . | ||
version: v1.61 |