Skip to content

Commit

Permalink
ci: update actions/checkout to v4 and akhileshns/heroku-deploy to…
Browse files Browse the repository at this point in the history
… latest (#515)
  • Loading branch information
G-Rath authored Dec 14, 2023
1 parent d609848 commit 4edfd5b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Audit dependencies for security vulnerabilities
Expand All @@ -34,7 +34,7 @@ jobs:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v3
Expand All @@ -49,7 +49,7 @@ jobs:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install Ruby and Bundler
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
steps:
- name: Checkout this repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
6 changes: 3 additions & 3 deletions variants/github_actions_ci/workflows/ci.yml.tt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Audit dependencies for security vulnerabilities
Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v3
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
# - 9300:9300
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install Required OS Packages
Expand Down
2 changes: 1 addition & 1 deletion variants/github_actions_ci/workflows/deploy_to_ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
name: ${{ inputs.environment }}
url: ${{ inputs.environment_url }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: ruby/setup-ruby@v1
Expand Down
4 changes: 2 additions & 2 deletions variants/github_actions_ci/workflows/deploy_to_heroku.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ jobs:
name: ${{ inputs.environment }}
url: ${{ inputs.environment_url }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: true # required to push to heroku
- name: Deploy to Heroku
uses: akhileshns/heroku-deploy@v3.8.9
uses: akhileshns/heroku-deploy@v3.12.14
with:
heroku_api_key: ${{ secrets.heroku_api_key }}
heroku_email: ${{ secrets.heroku_email }}
Expand Down

0 comments on commit 4edfd5b

Please sign in to comment.