mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-22 18:21:35 +03:00
fc2e4083b0
* ci: check for change tag * fix workflow * Update .scripts/ci/check-change-tags.js * feat: also check if tag is known seems like covector does not check that so we can do it here for now * remove push run * only check changed files * add missing tag --------- Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
29 lines
732 B
YAML
29 lines
732 B
YAML
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
name: check license headers
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: dorny/paths-filter@v2
|
|
id: filter
|
|
with:
|
|
list-files: shell
|
|
filters: |
|
|
added:
|
|
- added: '**'
|
|
- name: check header license on new files
|
|
if: ${{ steps.filter.outputs.added == 'true' }}
|
|
run: node ./.scripts/ci/check-license-header.js ${{ steps.filter.outputs.added_files }}
|