Skip to content

Commit

Permalink
Update workflow configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ncalteen committed Sep 20, 2023
1 parent 093cb54 commit e3cec65
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/linters/.shellcheckrc

This file was deleted.

15 changes: 13 additions & 2 deletions .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
branches:
- main

# This is required to be able to update tags and create releases
permissions:
contents: write

Expand All @@ -19,16 +20,26 @@ jobs:
if: ${{ github.event.pull_request.merged == true }}

steps:
# Checkout the repository with fetch-tags set to true
- name: Checkout
id: checkout
uses: actions/checkout@v4
with:
fetch-tags: true

- name: Tag Commit
id: tag-commit
# Get the version and update the tags to use in the release
- name: Tag
id: tag
uses: issue-ops/[email protected]
with:
manifest-path: package.json
workspace: ${{ github.workspace }}
ref: main

# Use the version output from the previous step for the release
# Prepend a 'v' to the beginning (e.g. 'v1.2.3')
- name: Create Release
id: release
uses: issue-ops/[email protected]
with:
tag: v${{ steps.tag.outputs.version }}
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Continuous Integration

on:
push:
branches:
branches-ignore:
- main
pull_request:
branches:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Super Linter

on:
push:
branches:
branches-ignore:
- main
pull_request:
branches:
Expand Down

0 comments on commit e3cec65

Please sign in to comment.