Skip to content

Commit

Permalink
Adding main and updating workflows to reference it
Browse files Browse the repository at this point in the history
  • Loading branch information
nchiasson-dgi committed Sep 22, 2023
1 parent 6cd2800 commit 8f3c74f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,9 @@ name: Code Linting
on:
pull_request:
branches:
- 1.x
- main
workflow_dispatch:

jobs:
Lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Run CodeSniffer
uses: discoverygarden/CodeSniffer@v1
uses: discoverygarden/CodeSniffer/.github/workflows/lint.yml@v1
14 changes: 6 additions & 8 deletions .github/workflows/semver.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
---
name: Auto Semver
name: Semantic Version Tagging
on:
pull_request_target:
types: closed
branches:
- 1.x
- main

jobs:
update:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Run Auto Semver
uses: discoverygarden/auto-semver@v1
tag_update:
name: Tag Update
uses: discoverygarden/auto-semver/.github/workflows/semver.yml@v1

0 comments on commit 8f3c74f

Please sign in to comment.