Skip to content

Commit

Permalink
correct workflow triggers (#2340)
Browse files Browse the repository at this point in the history
* correct workflow triggers

* not extract strings
  • Loading branch information
altendky authored May 15, 2024
1 parent 366a9c8 commit 063b95d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ name: Check npm audit and locales

on:
push:
branches-ignore:
- "main"
branches:
- long_lived/**
- main
- release/**
tags:
- "**"
pull_request:
branches-ignore:
- "main"
branches:
- "**"

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}--${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/code-check.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: code-check
on:
# We never push directly to 'main', so do not run on it
push:
branches-ignore:
- "main"
branches:
- long_lived/**
- main
- release/**
tags:
- "**"
pull_request:
branches-ignore:
- "main"
branches:
- "**"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
Expand Down

0 comments on commit 063b95d

Please sign in to comment.