Skip to content

Commit

Permalink
Modify workflows to reflect Dev Container features release strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber623 committed Feb 28, 2024
1 parent 1a1f484 commit cc83fa1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Lint

on:
pull_request:
push:
branches: [main]
workflow_call:
workflow_dispatch:

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: Publish

on:
release:
types: [published]
push:
branches: [main]
workflow_dispatch:

jobs:
lint:
uses: "./.github/workflows/lint.yml"
test:
uses: "./.github/workflows/test.yml"
publish-to-github-packages:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Test

on:
pull_request:
push:
branches: [main]
workflow_call:
workflow_dispatch:

Expand Down

0 comments on commit cc83fa1

Please sign in to comment.