Skip to content

Commit

Permalink
fix(ci): allow PR builds to occur but disable release workflow for su…
Browse files Browse the repository at this point in the history
…bsequent merge

Prevents recursive builds
  • Loading branch information
ReidWeb committed Sep 20, 2021
1 parent 6bcc7e7 commit 537e793
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Skip release commits - prevents recursive builds
if: "!contains(github.event.head_commit.message, 'chore(release)')"

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -61,7 +64,7 @@ jobs:
# Defaults to the user or organization that owns the workflow file
scope: '@xivstats'
- run: git add CHANGELOG.md package.json package-lock.json
- run: 'git commit -m "chore(release): ${{ steps.package-version.outputs.current-version }}" -m "[skip ci]"'
- run: 'git commit -m "chore(release): ${{ steps.package-version.outputs.current-version }}"'
- name: Push changes
# Publish to GitHub Packages
uses: ad-m/github-push-action@master
Expand Down
4 changes: 2 additions & 2 deletions docs/api/classes/client_LodestoneClient.default.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Client for interfacing with the Final Fantasy XIV Lodestone

#### Defined in

[LodestoneClient.ts:53](https://github.com/XIVStats/lodestone/blob/6da7e13/src/client/LodestoneClient.ts#L53)
[LodestoneClient.ts:53](https://github.com/XIVStats/lodestone/blob/6bcc7e7/src/client/LodestoneClient.ts#L53)

## Properties

Expand All @@ -43,4 +43,4 @@ An instance will be generated by default, but as a consumer you can provide your

#### Defined in

[LodestoneClient.ts:49](https://github.com/XIVStats/lodestone/blob/6da7e13/src/client/LodestoneClient.ts#L49)
[LodestoneClient.ts:49](https://github.com/XIVStats/lodestone/blob/6bcc7e7/src/client/LodestoneClient.ts#L49)

0 comments on commit 537e793

Please sign in to comment.