diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..5792218 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,29 @@ +name: ๐Ÿงน Lint + +on: + pull_request: + branches: + - master + types: + - opened + - edited + - synchronize + - reopened + +permissions: {} + +jobs: + lint-codebase: + name: Lint codebase + uses: equinor/ops-actions/.github/workflows/super-linter.yml@v9.10.4 + permissions: + contents: read + statuses: write + with: + filter_regex_exclude: (.*CHANGELOG\.md$|docs/workflows/.*) + + lint-pr: + name: Lint PR + uses: equinor/ops-actions/.github/workflows/commitlint.yml@v9.10.4 + with: + message: ${{ github.event.pull_request.title }} diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml deleted file mode 100644 index 209fab9..0000000 --- a/.github/workflows/release-please.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: release-please -on: - push: - branches: - - master - -permissions: - contents: write - pull-requests: write - -jobs: - release-please: - runs-on: ubuntu-latest - steps: - - uses: googleapis/release-please-action@v4 - with: - release-type: simple \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..87eb0d3 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,20 @@ +name: ๐Ÿš€ Create release + +on: + push: + branches: + - master + +permissions: {} + +jobs: + release-please: + name: Release Please + runs-on: ubuntu-latest + permissions: + contents: write # Required to update changelog file + pull-requests: write # Required to create release PRs + steps: + - uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f + with: + release-type: simple