Skip to content

Commit

Permalink
Merge pull request #47 from bank-vaults/add-gha-actions
Browse files Browse the repository at this point in the history
ci(GHA): add merge commit check and basic build actions
  • Loading branch information
akijakya authored Nov 7, 2023
2 parents 6c462da + 6c7ec09 commit d6b5525
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: PR Checks

on:
pull_request:

permissions:
contents: read

jobs:
verify-commits:
name: Verify Commits
runs-on: ubuntu-latest

steps:
- name: Block Merge Commits
uses: Morishiri/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
23 changes: 23 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+"

permissions:
contents: read

jobs:
artifacts:
name: Artifacts
uses: ./.github/workflows/artifacts.yaml
with:
publish: true
release: true
permissions:
contents: write
packages: write
id-token: write
security-events: write

0 comments on commit d6b5525

Please sign in to comment.