Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,25 @@ on:
push:
branches:
- main
paths:
- 'src/**'
- 'scripts/**'
- 'package.json'
- 'pnpm-lock.yaml'
- '.github/workflows/ci.yml'
pull_request:
branches:
- main
paths:
- 'src/**'
- 'scripts/**'
- 'package.json'
- 'pnpm-lock.yaml'
- '.github/workflows/ci.yml'

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand All @@ -15,6 +31,7 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4

Expand Down
20 changes: 13 additions & 7 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,45 @@ on:
push:
branches:
- main
paths:
- 'src/**'
- 'scripts/**'
- 'package.json'
- '.github/workflows/codeql.yml'
pull_request:
branches:
- main
paths:
- 'src/**'
- 'scripts/**'
- 'package.json'
- '.github/workflows/codeql.yml'
schedule:
- cron: '0 0 * * 1'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: ['javascript-typescript']

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
languages: javascript-typescript

- name: Autobuild
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: '/language:${{matrix.language}}'
category: '/language:javascript-typescript'
1 change: 1 addition & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ permissions:
jobs:
dependency-review:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish

on:
schedule:
- cron: '0 2 * * *'
- cron: '0 2 * * 1,3,5'
workflow_dispatch:
repository_dispatch:
types: [extension-released, azd-web-core-updated]
Expand All @@ -15,11 +15,12 @@ permissions:

concurrency:
group: 'publish'
cancel-in-progress: false
cancel-in-progress: true

jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 20
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,29 @@ on:
push:
branches:
- main
paths:
- 'src/**'
- '**/*.md'
- 'package.json'
- '.cspell.json'
- '.github/workflows/spellcheck.yml'
pull_request:
branches:
- main
paths:
- 'src/**'
- '**/*.md'
- 'package.json'
- '.cspell.json'
- '.github/workflows/spellcheck.yml'

permissions:
contents: read

jobs:
spellcheck:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4

Expand Down
Loading