From 8d71d7c55cb704b48b54abba76f2a6ae632ec6c8 Mon Sep 17 00:00:00 2001 From: Bob Borges Date: Fri, 3 May 2024 11:35:10 +0200 Subject: [PATCH 1/2] feat:add cff+workflow --- .github/workflows/validate-cff.yml | 20 +++++++++++++++ CITATION.cff | 39 ++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 .github/workflows/validate-cff.yml create mode 100644 CITATION.cff diff --git a/.github/workflows/validate-cff.yml b/.github/workflows/validate-cff.yml new file mode 100644 index 0000000..461bee0 --- /dev/null +++ b/.github/workflows/validate-cff.yml @@ -0,0 +1,20 @@ +name: "Riksdagen Persons: Validate CITATION cff" + +on: + push: + paths: + - CITATION.cff + - .github/workflows/validate-cff.yml + +jobs: + Validate-CITATION-cff: + runs-on: ubuntu-latest + env: + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Validate CITATION.cff + uses: dieghernan/cff-validator@v3 diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 0000000..0f79d1a --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,39 @@ +cff-version: 1.2.0 +message: To cite this reposository, please use these metadata. +title: "The Swedish Parliament Corpus: Riksdagen Records" +version: v1.0.0 +authors: + - given-names: Väinö + family-names: Yrjänäinen + alias: ninpnin + - given-names: Fredrik + family-names: Mohammadi Norén + orcid: "https://orcid.org/0000-0001-8820-1082" + alias: fredrik1984 + - family-names: Borges + given-names: Robert + orcid: "https://orcid.org/0000-0002-7647-4048" + alias: BobBorges + - given-names: Johan + family-names: Jarlbrink + orcid: "https://orcid.org/0000-0002-1167-046X" + - given-names: Lotta + family-names: Åberg Brorsson + alias: Lottabrorson + - given-names: Anders P. + family-names: Olsson + - given-names: Pelle + family-names: Snickars + orcid: "https://orcid.org/0000-0001-5122-1549" + - given-names: Måns + family-names: Magnusson + orcid: "https://orcid.org/0000-0002-0296-2719" + alias: MansMeg +date-released: 2024-04-17 +identifiers: + - description: Repository basename + type: other + value: riksdagen-persons +repository-code: "https://github.com/swerik-project/riksdagen-persons" +url: "https://github.com/swerik-project/the-swedish-parliament-corpus" +type: dataset From 0044ac05666a3bfff44c1189bf1f088ad0d7bd44 Mon Sep 17 00:00:00 2001 From: Bob Borges Date: Fri, 3 May 2024 11:51:53 +0200 Subject: [PATCH 2/2] fix: title field --- CITATION.cff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CITATION.cff b/CITATION.cff index 0f79d1a..d3fc313 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -1,6 +1,6 @@ cff-version: 1.2.0 message: To cite this reposository, please use these metadata. -title: "The Swedish Parliament Corpus: Riksdagen Records" +title: "The Swedish Parliament Corpus: Riksdagen Persons" version: v1.0.0 authors: - given-names: Väinö