Skip to content

Commit

Permalink
re-add GITHUB_REF
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Dec 1, 2023
1 parent 52230d0 commit 0a4faf9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hooks/post_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def remove_folder(folder_path):
def replace_contents(filepath):
replacements = {
"__BUMPVERSION_TOKEN__": "secrets.BUMPVERSION_TOKEN",
"__GITHUB_REF__": "github.ref",
"__GITHUB_REF_NAME__": "github.ref_name",
"__GITHUB_TOKEN__": "secrets.GITHUB_TOKEN",
"__PYTHON_VERSION__": "matrix.python-version",
Expand Down

0 comments on commit 0a4faf9

Please sign in to comment.