Updates
This commit is contained in:
22
.github/workflows/publish-release.yml
vendored
22
.github/workflows/publish-release.yml
vendored
@@ -1,26 +1,16 @@
|
||||
---
|
||||
name: Publish Release
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
lint-code:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
# Full git history is needed to get a proper list of changed files within `super-linter`
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Lint Code Base
|
||||
uses: github/super-linter@v4
|
||||
env:
|
||||
VALIDATE_ALL_CODEBASE: false
|
||||
DEFAULT_BRANCH: "main"
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
linter:
|
||||
uses: ./.github/workflows/linter.yml
|
||||
publish-release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: lint-code
|
||||
needs: linter
|
||||
steps:
|
||||
- name: Publish Release
|
||||
uses: ncipollo/release-action@v1
|
||||
|
||||
Reference in New Issue
Block a user