Skip to content

Commit

Permalink
test: Add copyright-check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
richsalz committed Jul 20, 2024
1 parent 8d3ac5a commit cf9f402
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/check-copyright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Copyright years

on:
pull_request:
branches:
- main

jobs:
changed_files:
runs-on: ubuntu-latest
name: Test changed-files
steps:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
- name: where
run: pwd
- name: Check changed files
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: perl ./ietf/check-copyright -l -f ${ALL_CHANGED_FILES};

0 comments on commit cf9f402

Please sign in to comment.