-
Notifications
You must be signed in to change notification settings - Fork 0
🩹[Patch]: Configure Dependabot and rename Auto-Release to Release-GHRepository #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
4f65a03
4fc5705
2bbf7b4
f093fb0
b005a9a
e9a6a49
7d1be2f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,4 +11,6 @@ updates: | |
| - dependencies | ||
| - github-actions | ||
| schedule: | ||
| interval: weekly | ||
| interval: daily | ||
| cooldown: | ||
| default-days: 7 | ||
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,14 +19,17 @@ jobs: | |
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout repo | ||
| uses: actions/checkout@v6 | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
|
||
| with: | ||
| fetch-depth: 0 | ||
| persist-credentials: false | ||
|
|
||
| - name: Lint code base | ||
| uses: super-linter/super-linter@latest | ||
| uses: super-linter/super-linter@d5b0a2ab116623730dd094f15ddc1b6b25bf7b99 # v8.3.2 | ||
| env: | ||
| GITHUB_TOKEN: ${{ github.token }} | ||
| VALIDATE_BIOME_FORMAT: false | ||
| VALIDATE_JSCPD: false | ||
| VALIDATE_JSON_PRETTIER: false | ||
| VALIDATE_MARKDOWN_PRETTIER: false | ||
| VALIDATE_YAML_PRETTIER: false | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| name: Release | ||
|
|
||
| run-name: "Release - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}" | ||
|
|
||
| on: | ||
|
Comment on lines
+1
to
+5
|
||
| pull_request: | ||
| branches: | ||
| - main | ||
| types: | ||
| - closed | ||
| - opened | ||
| - reopened | ||
| - synchronize | ||
| - labeled | ||
| paths: | ||
| - 'action.yml' | ||
| - 'src/**' | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
|
|
||
| jobs: | ||
| Release: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout Code | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: Release | ||
| uses: PSModule/Release-GHRepository@88c70461c8f16cc09682005bcf3b7fca4dd8dc1a # v2.0.1 | ||
| with: | ||
| IncrementalPrerelease: false | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -267,7 +267,7 @@ | |||||||||||||||||||||||||||||||||||||
| using: composite | ||||||||||||||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||||||||||||||
| - name: Install-PSModuleHelpers | ||||||||||||||||||||||||||||||||||||||
| uses: PSModule/Install-PSModuleHelpers@v1 | ||||||||||||||||||||||||||||||||||||||
| uses: PSModule/Install-PSModuleHelpers@d60d63e4be477d1ca0c67c6085101fb109bce8f1 # v1.0.6 | ||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| - name: Get test paths | ||||||||||||||||||||||||||||||||||||||
| shell: pwsh | ||||||||||||||||||||||||||||||||||||||
|
|
@@ -278,10 +278,10 @@ | |||||||||||||||||||||||||||||||||||||
| PSMODULE_TEST_PSMODULE_INPUT_Settings: ${{ inputs.Settings }} | ||||||||||||||||||||||||||||||||||||||
| run: | | ||||||||||||||||||||||||||||||||||||||
| # Get test paths | ||||||||||||||||||||||||||||||||||||||
| ${{ github.action_path }}/scripts/main.ps1 | ||||||||||||||||||||||||||||||||||||||
| ${{ github.action_path }}/src/main.ps1 | ||||||||||||||||||||||||||||||||||||||
Check warningCode scanning / CodeQL Code injection Medium
Potential code injection in
${ github.action_path } Error loading related location Loading
Copilot AutofixAI about 15 hours ago In general, to fix this class of problem in GitHub Actions, you assign the expression ( Here, we should define an environment variable (for example
Suggested changeset
1
action.yml
Copilot is powered by AI and may make mistakes. Always verify output.
Refresh and try again.
|
||||||||||||||||||||||||||||||||||||||
|
Comment on lines
279
to
282
|
||||||||||||||||||||||||||||||||||||||
| - name: Invoke-Pester | ||||||||||||||||||||||||||||||||||||||
| uses: PSModule/Invoke-Pester@v4 | ||||||||||||||||||||||||||||||||||||||
| uses: PSModule/Invoke-Pester@882994cbe1ff07c3fc8afdac52404c940f99b331 # v4.2.2 | ||||||||||||||||||||||||||||||||||||||
| id: test | ||||||||||||||||||||||||||||||||||||||
| env: | ||||||||||||||||||||||||||||||||||||||
| LocalTestPath: ${{ steps.paths.outputs.LocalTestPath }} | ||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
cooldownconfiguration option does not exist in GitHub's Dependabot configuration schema. According to GitHub's documentation (as of my knowledge cutoff in January 2025), Dependabot supports options likeschedule,open-pull-requests-limit,target-branch,reviewers,assignees,labels,milestone,versioning-strategy,commit-message,rebase-strategy,ignore,allow,insecure-external-code-execution,registries, andgroups, but notcooldown. This configuration will likely be ignored or cause Dependabot to fail validation. If you want to delay updates, you should use thescheduleoption withinterval: weeklyor use theignoreoption withupdate-typesto skip certain updates temporarily.