Skip to content

Commit

Permalink
GitHub workflows apparently can't be symlinks
Browse files Browse the repository at this point in the history
ChangeLog:

	* README.md: Update URLs. Add REUSE badge.
	* fair-software.yml: Removed.
	* reuse.yml: Removed.
  • Loading branch information
mattkretz committed Oct 14, 2024
1 parent ce97ac8 commit 39b3dee
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 44 deletions.
1 change: 0 additions & 1 deletion .github/workflows/fair-software.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/fair-software.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2023–2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH / Matthias Kretz <[email protected]>

name: fair-software

on:
push:
branches: [ master, main ]

jobs:
verify:
name: "fair-software"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: mattkretz/howfairis
path: howfairis

- name: Install mattkretz/howfairis
run: pip install ./howfairis

- name: Measure compliance with fair-software.eu recommendations
env:
PYCHARM_HOSTED: "Trick colorama into displaying colored output"
run: howfairis "https://github.com/${{ github.repository }}"
1 change: 0 additions & 1 deletion .github/workflows/reuse.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# SPDX-FileCopyrightText: 2020 Free Software Foundation Europe e.V.
# SPDX-License-Identifier: CC0-1.0
name: REUSE Compliance Check

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v4
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ SPDX-License-Identifier: CC-BY-SA-4.0
SPDX-FileCopyrightText: 2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH <https://gsi.de>
-->

[![REUSE status](https://github.com/GSI-HPC/github-workflow-templates/actions/workflows/reuse.yml/badge.svg)](https://github.com/GSI-HPC/github-workflow-templates/actions/workflows/reuse.yml)

## How to use in your project

```sh
cd <your repo root>
wget https://github.com/GSI-HPC/github-workflow-templates/raw/refs/heads/master/.pre-commit-config.yaml
wget https://github.com/GSI-HPC/github-workflow-templates/raw/refs/heads/main/.pre-commit-config.yaml
mkdir -p .github/workflows
cd .github/workflows
wget https://github.com/GSI-HPC/github-workflow-templates/raw/refs/heads/master/fair-software.yml
wget https://github.com/GSI-HPC/github-workflow-templates/raw/refs/heads/master/reuse.yml
wget https://github.com/GSI-HPC/github-workflow-templates/raw/refs/heads/main/.github/workflows/fair-software.yml
wget https://github.com/GSI-HPC/github-workflow-templates/raw/refs/heads/main/.github/workflows/reuse.yml
cd ../..
git add .pre-commit-config.yaml .github/workflows/fair-software.yml .github/workflows/reuse.yml
```
Expand Down
26 changes: 0 additions & 26 deletions fair-software.yml

This file was deleted.

13 changes: 0 additions & 13 deletions reuse.yml

This file was deleted.

0 comments on commit 39b3dee

Please sign in to comment.