Skip to content

Commit

Permalink
Merge pull request #50 from canonical-web-and-design/Add-inclusive-na…
Browse files Browse the repository at this point in the history
…ming-action

Add inclusive naming action
  • Loading branch information
petesfrench authored Oct 7, 2021
2 parents c328e3f + f81975c commit f93193f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,17 @@ jobs:

- name: Test
run: SECRET_KEY=fake python3 -m unittest discover tests

check-inclusive-naming:
runs-on: ubuntu-latest

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

- name: Check inclusive naming
uses: canonical-web-and-design/inclusive-naming@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
fail-on-error: true
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish
on:
push:
branches:
- master
- main

jobs:
publish:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release Drafter
on:
push:
branches:
- master
- main

jobs:
get_version:
Expand All @@ -19,7 +19,7 @@ jobs:
needs: get_version
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
# Drafts your next Release notes as Pull Requests are merged into "main"
- uses: release-drafter/release-drafter@v5
with:
tag: "${{ needs.get_version.outputs.version }}"
Expand Down

0 comments on commit f93193f

Please sign in to comment.