Skip to content

adding required files for new ruleset #7

adding required files for new ruleset

adding required files for new ruleset #7

Workflow file for this run

---
name: Create tag and release
on:
push:
branches:
- master
- main
jobs:
tag:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v6.1
with:
github_token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
- name: Zip Release
# You may pin to the exact commit or the version.
# uses: TheDoctor0/zip-release@09336613be18a8208dfa66bd57efafd9e2685657
id: zip
uses: TheDoctor0/zip-release@0.7.1
with:
type: 'zip'
filename: 'xoap-packer-templates_${{ steps.tag_version.outputs.new_tag }}.zip'
exclusions: '*.git* /*License/* CONTRIBUTING.md CODEOWNERS.md CODE_OF_CONDUCT.md .pre-commit.yaml .gitignore .gitattributes .github'
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
artifacts: 'xoap-packer-templates_${{ steps.tag_version.outputs.new_tag }}.zip'
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}