forked from Nebo15/logger_json
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: sync files with stordco/common-config-elixir
- Loading branch information
1 parent
0d8a92b
commit 130822f
Showing
7 changed files
with
153 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,24 +12,23 @@ on: | |
- synchronize | ||
|
||
jobs: | ||
title: | ||
if: github.event_name == 'pull_request' | ||
name: Check Title | ||
Title: | ||
if: ${{ github.event_name == 'pull_request' }} | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Check | ||
uses: stordco/[email protected] | ||
with: | ||
regex: '^(feat!|fix!|fix|feat|chore|(fix|feat|chore)\(\w.*\)):\s(\[\w{1,8}-\d{1,8}\]|.*).*' | ||
hint: | | ||
You can pass the following formats: | ||
Your PR title does not match the Stord common convention. Please rename your PR to match one of the following formats: | ||
chore: a small insignificant change | ||
fix: [JIRA-1234] fix an existing feature | ||
feat: [JIRA-1234] a new feature to release | ||
feat!: a breaking change | ||
fix: [OR-123] some title of the PR | ||
feat: [OR-1234] some title of the PR | ||
chore: update some action | ||
Note: Adding ! (i.e. `feat!:`) represents a breaking change and will result in a SemVer major release. | ||
Note: Adding ! (i.e. `feat!:`) represents a breaking change and will result in a SemVer major. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# This file is synced with stordco/common-config-elixir. Any changes will be overwritten. | ||
|
||
name: Staging | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- code-freeze-2023 | ||
- code-freeze/** | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: Staging | ||
|
||
jobs: | ||
Documentation: | ||
environment: | ||
name: Documentation | ||
url: https://logger-json.stord.engineering | ||
|
||
permissions: | ||
contents: read | ||
id-token: write | ||
pages: write | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Elixir | ||
uses: stordco/actions-elixir/setup@v1 | ||
with: | ||
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
hex-token: ${{ secrets.HEX_API_KEY }} | ||
oban-fingerprint: ${{ secrets.OBAN_KEY_FINGERPRINT }} | ||
oban-token: ${{ secrets.OBAN_LICENSE_KEY }} | ||
|
||
- name: Build | ||
run: mix docs | ||
|
||
- name: Set CNAME | ||
run: echo "logger-json.stord.engineering" > ./doc/CNAME | ||
|
||
- name: Upload Artifacts | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
path: ./doc | ||
|
||
- name: Deploy | ||
uses: actions/deploy-pages@v2 | ||
|