-
Notifications
You must be signed in to change notification settings - Fork 468
ci(GHA): Collect feature flag code references using flagsmith/ci #6590
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,17 @@ | |||||||||||||||||||||||
| name: Collect code references | |||||||||||||||||||||||
|
|
|||||||||||||||||||||||
| on: | |||||||||||||||||||||||
| schedule: | |||||||||||||||||||||||
| - cron: '0 0 * * *' # Runs daily at midnight UTC | |||||||||||||||||||||||
| workflow_dispatch: | |||||||||||||||||||||||
| pull_request: # DROPME | |||||||||||||||||||||||
|
|
|||||||||||||||||||||||
| jobs: | |||||||||||||||||||||||
| collect-code-references: | |||||||||||||||||||||||
| uses: Flagsmith/ci/.github/workflows/collect-code-references.yml@feat/github-code-references-reusable-workflow | |||||||||||||||||||||||
| with: | |||||||||||||||||||||||
| flagsmith_project_id: 12 | |||||||||||||||||||||||
| flagsmith_admin_api_url: https://api.flagsmith.com | |||||||||||||||||||||||
| exclude_patterns: node_modules,venv,.git,cache,build,htmlcov,docs,.json,tests | |||||||||||||||||||||||
| secrets: | |||||||||||||||||||||||
| flagsmith_admin_api_key: ${{ secrets.FLAGSMITH_CODE_REFERENCES_API_KEY }} | |||||||||||||||||||||||
|
Comment on lines
+11
to
+17
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
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 2 days ago In general, the fix is to add an explicit Concretely, in permissions:
contents: readat the top-level, between the existing
Suggested changeset
1
.github/workflows/platform-collect-code-references.yml
Copilot is powered by AI and may make mistakes. Always verify output.
Refresh and try again.
|
|||||||||||||||||||||||
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.