Skip to content

Merge pull request #62 from theohbrothers/enhancement/gallery-make-es… #178

Merge pull request #62 from theohbrothers/enhancement/gallery-make-es…

Merge pull request #62 from theohbrothers/enhancement/gallery-make-es… #178

Workflow file for this run

name: ci-master-pr
on:
push:
branches:
- master
tags:
- '**'
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
container:
image: bats/bats:1.7.0
steps:
- uses: actions/checkout@v3
- run: bats *.bats
update-draft-release:
needs: [test]
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish-draft-release:
needs: [test]
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- id: release-drafter
uses: release-drafter/release-drafter@v5
with:
# config-name: release-drafter.yaml
publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}