Skip to content

feat(weather): add STRÅNG as an irradiance source and declare source coverage #1328

feat(weather): add STRÅNG as an irradiance source and declare source coverage

feat(weather): add STRÅNG as an irradiance source and declare source coverage #1328

Workflow file for this run

name: brand-cleanup
on:
pull_request:
branches: [master]
push:
branches: [master]
permissions:
contents: read
# Superseded pull-request runs answer a diff nobody will read again, so drop
# them: every run for one PR shares a group keyed by its number, and only the
# newest survives.
#
# Pushes to master fall back to the commit SHA, which gives each one a group of
# its own. That is deliberate, and `cancel-in-progress: false` would NOT have
# achieved it: a group holds one running plus one pending run, so a third push
# arriving during a slow run evicts the second one's pending run. Every master
# commit is the record that it passed the gate, so none of them may be dropped.
# A unique group cannot queue, so nothing can be evicted from it.
concurrency:
group: brand-cleanup-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
active-copy:
name: no new legacy product copy
if: |
!(github.event_name == 'pull_request' && startsWith(github.event.pull_request.title, 'chore(release): version packages')) &&
!(github.event_name == 'push' && startsWith(github.event.head_commit.message, 'chore(release): version packages'))
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Ensure ripgrep is available
run: |
if ! command -v rg >/dev/null 2>&1; then
sudo apt-get update
sudo apt-get install --yes ripgrep
fi
- name: Check classified brand inventory
env:
BRAND_BASE_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
run: .github/brand/check-brand-cleanup.sh