This commit is contained in:
2023-09-10 18:32:05 -04:00
parent 4c0b8f6eb1
commit b2007c31f5
3 changed files with 58 additions and 16 deletions

View File

@@ -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