-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add linter and update release workflow (#2)
- Loading branch information
1 parent
fa896e7
commit e76c276
Showing
3 changed files
with
49 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |