Skip to content

Commit

Permalink
Merge branch 'main' into BRE-544-The-workflow-linter-respository-need…
Browse files Browse the repository at this point in the history
…s-additional-pull-request-version-labels
  • Loading branch information
michalchecinski authored Jan 9, 2025
2 parents 3a2dbb6 + 543351e commit 0d28be6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: CD

on:
push:
pull_request:
types:
- closed
branches:
- main
paths:
- "src/**"
- 'main'
workflow_dispatch:


jobs:
version-type:
name: Get version type
if: github.actor != 'bitwarden-devops-bot'
if: github.event.pull_request.merged == true
uses: ./.github/workflows/_version_type.yml

version-bump:
name: Version bump
if: github.actor != 'bitwarden-devops-bot' && needs.version-type.outputs.version_bump_type != 'skip'
if: needs.version-type.outputs.version_bump_type != 'skip'
runs-on: ubuntu-24.04
needs: version-type
outputs:
Expand Down Expand Up @@ -94,7 +94,6 @@ jobs:
release:
name: GitHub release
if: github.actor != 'bitwarden-devops-bot'
runs-on: ubuntu-22.04
needs: version-bump
steps:
Expand All @@ -112,7 +111,6 @@ jobs:

deploy:
name: Deploy workflow-linter (v2)
if: github.actor != 'bitwarden-devops-bot'
runs-on: ubuntu-22.04
needs: version-bump
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}

- name: Scan with Checkmarx
uses: checkmarx/ast-github-action@b74e8d514feae4ad5ad2b43e72590935bd2daf5f # 2.0.39
uses: checkmarx/ast-github-action@184bf2f64f55d1c93fd6636d539edf274703e434 # 2.0.41
env:
INCREMENTAL: "${{ contains(github.event_name, 'pull_request') && '--sast-incremental' || '' }}"
with:
Expand All @@ -46,7 +46,7 @@ jobs:
--output-path . ${{ env.INCREMENTAL }}
- name: Upload Checkmarx results to GitHub
uses: github/codeql-action/upload-sarif@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
with:
sarif_file: cx_result.sarif

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Generate GH App token
if: steps.new-changes.outputs.new_changes == 'TRUE'
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1
id: app-token
with:
app-id: ${{ secrets.GH_APP_ID }}
Expand Down
2 changes: 1 addition & 1 deletion src/bitwarden_workflow_linter/__about__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Metadata for Workflow Linter."""

__version__ = "0.4.3"
__version__ = "0.4.4"

0 comments on commit 0d28be6

Please sign in to comment.