2022-08-21 06:27:01 +00:00
|
|
|
---
|
|
|
|
# Copyright (c) Ansible Project
|
|
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
name: Verify REUSE
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2024-10-19 10:34:55 +00:00
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- stable-*
|
|
|
|
pull_request:
|
2022-09-19 19:07:04 +00:00
|
|
|
types: [opened, synchronize, reopened]
|
2024-10-19 10:34:55 +00:00
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- stable-*
|
2022-08-21 06:27:01 +00:00
|
|
|
# Run CI once per day (at 07:30 UTC)
|
|
|
|
schedule:
|
|
|
|
- cron: '30 7 * * *'
|
|
|
|
|
|
|
|
jobs:
|
2022-08-21 09:35:27 +00:00
|
|
|
check:
|
|
|
|
permissions:
|
|
|
|
contents: read
|
2022-08-21 06:27:01 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-09-12 04:41:43 +00:00
|
|
|
- uses: actions/checkout@v4
|
2022-09-19 19:07:04 +00:00
|
|
|
with:
|
2024-12-14 14:17:05 +00:00
|
|
|
persist-credentials: false
|
2022-09-19 19:07:04 +00:00
|
|
|
ref: ${{ github.event.pull_request.head.sha || '' }}
|
2022-08-21 06:27:01 +00:00
|
|
|
|
2024-01-18 06:11:10 +00:00
|
|
|
- name: REUSE Compliance Check
|
2024-11-18 18:49:23 +00:00
|
|
|
uses: fsfe/reuse-action@v5
|