Skip to content

Commit

Permalink
ci: Fixes Code Scanning permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmechlark committed Sep 8, 2023
1 parent a2f9d1b commit 765f698
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@ on:
schedule:
- cron: '37 15 * * 3'

permissions:
actions: read
contents: read
security-events: write

jobs:
codeql:
name: CodeQL Scan
runs-on: ubuntu-latest
timeout-minutes: 360
permissions:
actions: read
contents: read
security-events: write

steps:
- name: Checkout repository
Expand Down Expand Up @@ -67,10 +68,6 @@ jobs:
# brakeman-scan:
# name: Brakeman Scan
# runs-on: ubuntu-latest
# permissions:
# contents: read
# security-events: write
# actions: read

# steps:
# - name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Prod Deployment
name: Publish Gem

on:
release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Prod Release
name: Release

on:
push:
Expand Down

0 comments on commit 765f698

Please sign in to comment.