Skip to content

tag submodules

tag submodules #5

Workflow file for this run

name: Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
permissions:
contents: write
jobs:
tag:
strategy:
matrix:
module: [ 'provider/file', 'provider/pflag' ]
name: Tag submodules
runs-on: ubuntu-latest
steps:
- name: Create tag
uses: actions/github-script@v7
with:
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'refs/tags/${{ matrix.module }}/${{ github.event.inputs }}',
sha: context.sha
})