Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ovh/okms-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f43cc03d50c7b64475c6089050cb815c9a5382d1
Choose a base ref
..
head repository: ovh/okms-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 27a6566d68ba4584f1ff4c7404a3883edaad829d
Choose a head ref
Showing with 34 additions and 7 deletions.
  1. +23 −0 .github/workflows/main-branch.yaml
  2. +6 −1 .github/workflows/pull-request.yaml
  3. +5 −0 .github/workflows/release.yaml
  4. +0 −6 .github/workflows/test.yaml
23 changes: 23 additions & 0 deletions .github/workflows/main-branch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: release

on:
push:
# run only against tags
branches:
- main

permissions:
contents: write
packages: write
# issues: write

jobs:
build:
uses: ./.github/workflows/build.yaml
secrets: inherit

integration-tests:
needs: build
uses: ./.github/workflows/test.yaml
secrets: inherit

7 changes: 6 additions & 1 deletion .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
@@ -24,8 +24,13 @@ jobs:
if: github.event.pull_request.user.login != 'dependabot[bot]'
uses: ./.github/actions/lint-commit

test:
build:
needs:
- commitlint
uses: ./.github/workflows/build.yaml
secrets: inherit

test:
needs: build
uses: ./.github/workflows/test.yaml
secrets: inherit
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -12,7 +12,12 @@ permissions:
# issues: write

jobs:
build:
uses: ./.github/workflows/build.yaml
secrets: inherit

integration-tests:
needs: build
uses: ./.github/workflows/test.yaml
secrets: inherit

6 changes: 0 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
name: test

on:
push:
branches: ["main"]
workflow_call: {}


jobs:
build:
uses: ./.github/workflows/build.yaml
secrets: inherit
test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4