Skip to content

build: Package action as dist with latest changes #7

build: Package action as dist with latest changes

build: Package action as dist with latest changes #7

Workflow file for this run

name: "Limit Tags To Distributable Commits"
on:
push:
tags:
- "**"
jobs:
validate-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ssh-key: "${{ secrets.COMMIT_KEY }}"
- name: Test that the tagged commit includes `dist`
uses: prompt/actions-assert@v2
with:
assertion: npm://@assertions/directory-exists
expected: dist
- if: failure()
name: Delete invalid tag
uses: prompt/actions-delete-tag@v1