Skip to content

Commit

Permalink
Merge pull request #4 from roberto-arista/main
Browse files Browse the repository at this point in the history
improve PR action
  • Loading branch information
typemytype authored Mar 12, 2024
2 parents 98349bb + e1572e5 commit 4081130
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/pr_to_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ jobs:
create_tag_from_pr:
runs-on: ubuntu-latest
steps:
- name: Load environment from YAML
uses: doughepi/yaml-env-action
- uses: actions/checkout@v4

- name: Set ENV values from YAML
uses: dcarbone/[email protected]
with:
files: info.yaml
yaml-file: info.yaml

- name: Create tag if not present
uses: rickstaa/action-create-tag@v1
id: "tag_create"
with:
tag: info.VERSION
tag: $VERSION
tag_exists_error: false

0 comments on commit 4081130

Please sign in to comment.