Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add linter and update release workflow #2

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
permissions:
contents: read
statuses: write
with:
filter_regex_exclude: (.*CHANGELOG\.md$|docs/workflows/.*)

lint-pr:
name: Lint PR
uses: equinor/ops-actions/.github/workflows/[email protected]
with:
message: ${{ github.event.pull_request.title }}
17 changes: 0 additions & 17 deletions .github/workflows/release-please.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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