From b542f589a5c4041f54847591104cd51684849f2e Mon Sep 17 00:00:00 2001 From: Jakub Kuczys Date: Tue, 28 Mar 2023 03:40:27 +0200 Subject: [PATCH 1/1] Use GH action version when version argument not specified (#3543) --- .git_archival.txt | 4 ++++ .gitattributes | 1 + CHANGES.md | 3 +++ action/main.py | 24 +++++++++++++++++++++++- 4 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 .git_archival.txt create mode 100644 .gitattributes diff --git a/.git_archival.txt b/.git_archival.txt new file mode 100644 index 0000000..8fb235d --- /dev/null +++ b/.git_archival.txt @@ -0,0 +1,4 @@ +node: $Format:%H$ +node-date: $Format:%cI$ +describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$ +ref-names: $Format:%D$ diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..00a7b00 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.git_archival.txt export-subst diff --git a/CHANGES.md b/CHANGES.md index a429e32..47c04a7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -61,6 +61,9 @@ +- Update GitHub Action to use the version of Black equivalent to action's version if + version input is not specified (#3543) + ### Documentation