-
Notifications
You must be signed in to change notification settings - Fork 0
Enable stylelint-suitcss
#50
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
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 |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| name: stylelint-suitcss | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| paths: | ||
| - .github/workflows/test-package.yml | ||
| - .github/workflows/test-package-stylelint-suitcss-968.latest.yml | ||
| pull_request: | ||
| paths: | ||
| - .github/workflows/test-package.yml | ||
| - .github/workflows/test-package-stylelint-suitcss-968.latest.yml | ||
| workflow_dispatch: null | ||
| schedule: | ||
| - cron: 0 0 * * * | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }}-stylelint-suitcss-968-latest | ||
| cancel-in-progress: true | ||
| jobs: | ||
| test: | ||
| uses: ./.github/workflows/test-package.yml | ||
| name: latest | ||
| with: | ||
| package: stylelint-suitcss | ||
| stylelint-version: stylelint@latest | ||
| install-command: yarn | ||
| list-installed-versions-command: yarn list --pattern stylelint | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,27 @@ | ||||||||||||||
| name: stylelint-suitcss | ||||||||||||||
| on: | ||||||||||||||
| push: | ||||||||||||||
| branches: | ||||||||||||||
| - main | ||||||||||||||
| paths: | ||||||||||||||
| - .github/workflows/test-package.yml | ||||||||||||||
| - .github/workflows/test-package-stylelint-suitcss-968.next.yml | ||||||||||||||
| pull_request: | ||||||||||||||
| paths: | ||||||||||||||
| - .github/workflows/test-package.yml | ||||||||||||||
| - .github/workflows/test-package-stylelint-suitcss-968.next.yml | ||||||||||||||
| workflow_dispatch: null | ||||||||||||||
| schedule: | ||||||||||||||
| - cron: 0 0 * * * | ||||||||||||||
| concurrency: | ||||||||||||||
| group: ${{ github.workflow }}-${{ github.ref }}-stylelint-suitcss-968-next | ||||||||||||||
| cancel-in-progress: true | ||||||||||||||
| jobs: | ||||||||||||||
| test: | ||||||||||||||
| uses: ./.github/workflows/test-package.yml | ||||||||||||||
| name: next | ||||||||||||||
| with: | ||||||||||||||
| package: stylelint-suitcss | ||||||||||||||
| stylelint-version: stylelint/stylelint | ||||||||||||||
| install-command: yarn | ||||||||||||||
| list-installed-versions-command: yarn list --pattern stylelint | ||||||||||||||
|
Comment on lines
+21
to
+27
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium test
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Copilot AutofixAI 6 months ago To fix the problem, add a
Suggested changeset
1
.github/workflows/test-package-stylelint-suitcss-968.next.yml
Copilot is powered by AI and may make mistakes. Always verify output.
Refresh and try again.
|
||||||||||||||
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium test
Copilot Autofix
AI 6 months ago
To fix the problem, add a
permissionsblock to the workflow file. This block should be placed at the root level (top-level, alongsidename,on, etc.) to apply to all jobs in the workflow, unless a job overrides it. The minimal safe default iscontents: read, which grants read-only access to repository contents. If the workflow or any called workflow requires additional permissions, those can be added as needed, but starting withcontents: readis the recommended baseline. The change should be made at the top of.github/workflows/test-package-stylelint-suitcss-968.latest.yml, after thenamefield and beforeon:.