Skip to content

Commit

Permalink
Update codeql.yml (#207)
Browse files Browse the repository at this point in the history
* Update codeql.yml

* Use a released version
  • Loading branch information
michaelpaul authored Nov 21, 2023
1 parent 6b69b3a commit 862c4d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: "CodeQL"

on:
push:
branches: [ "develop", "main" ]
branches: [ "main" ]
pull_request:
branches: [ "develop" ]
branches: [ "main" ]
schedule:
- cron: "40 12 * * 0"

Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/rubygems_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,9 @@ jobs:

steps:
- uses: actions/checkout@v4
- run: |
git config user.name github-actions
git config user.email github-actions@github.com
- name: Release Gem on RubyGems
if: contains(github.ref, 'refs/tags/v')
uses: cadwallion/publish-rubygems-action@master
uses: cadwallion/publish-rubygems-action@v1.1.0
env:
GITHUB_TOKEN: ${{secrets.TOKEN_RUBYGEMS_RELEASES_WITH_EXPIRATION}}
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}

0 comments on commit 862c4d3

Please sign in to comment.