Skip to content

Commit

Permalink
Creating initial tag commit action (#4499)
Browse files Browse the repository at this point in the history
* Creating a git tag action

* Nits
  • Loading branch information
ebmifa authored Sep 6, 2022
1 parent 322261c commit 5fb85ff
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Tag

on:
workflow_call:
inputs:
sui_commit:
description: 'Sui repo commit to tag'
type: string
required: true
tag_name:
description: 'Tag Name'
type: string
required: true
workflow_dispatch:
inputs:
sui_commit:
description: 'Sui repo commit to tag'
type: string
required: true
tag_name:
description: 'Tag Name'
type: string
required: true

jobs:
tag:
name: Tag
runs-on: [self-hosted, self-hosted-arc]

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Tag
uses: julbme/gh-action-manage-tag@v1
with:
name: ${{ inputs.tag_name }}
state: present
from: ${{ inputs.sui_commit }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5fb85ff

Please sign in to comment.