-
Notifications
You must be signed in to change notification settings - Fork 0
TLCE-5323/Add pr-check.yaml workflow #12
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: master
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: PR Checks | |||||||||||||||||||||||
|
|
|||||||||||||||||||||||
| on: | |||||||||||||||||||||||
| pull_request: | |||||||||||||||||||||||
| types: [opened, edited, reopened, synchronize] | |||||||||||||||||||||||
|
|
|||||||||||||||||||||||
| jobs: | |||||||||||||||||||||||
| deploy: | |||||||||||||||||||||||
| name: PR Jira validation check | |||||||||||||||||||||||
| runs-on: [ubuntu-latest] | |||||||||||||||||||||||
| steps: | |||||||||||||||||||||||
| - name: PR Jira validation check | |||||||||||||||||||||||
| uses: triplelift-internal/actions/pr-check@v1.0 | |||||||||||||||||||||||
| with: | |||||||||||||||||||||||
| github_token: '${{ secrets.GH_ORG_TOKEN }}' | |||||||||||||||||||||||
| jira_user: '${{ secrets.JIRA_USER }}' | |||||||||||||||||||||||
| jira_token: '${{ secrets.JIRA_TOKEN }}' | |||||||||||||||||||||||
|
Comment on lines
+9
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 12 months ago To fix this issue, we will add a The permissions block will be added at the root of the workflow (applies to all jobs unless overridden) for simplicity and to ensure least privilege.
Suggested changeset
1
.github/workflows/pr-check.yaml
Copilot is powered by AI and may make mistakes. Always verify output.
Refresh and try again.
|
|||||||||||||||||||||||
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium