You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be an easy fix though, and we could make it in a few places.
in action.yml: if we used github.ref_name instead of the current github.ref, we'd get
The short ref name of the branch or tag that triggered the workflow run. This value matches the branch or tag name shown on GitHub. For example, feature-branch-1.
This is exactly what docassemble wants. Not sure why it does'n't work with the full version, but it doesn't.
a more hacky change with a smaller scope would be to include refs/tags/ in
I can confirm manually that telling docassemble the tag name works:
ALKiln debug: Stored name of Project "ALKilnTestdocassembleALAffidavitOfIndigencyv2121694202276108" locally.
ALKiln : Trying to pull code from the "v2.1.2" branch.
ALKiln debug: Project name from file is "ALKilnTestdocassembleALAffidavitOfIndigencyv2121694202276108".
ALKiln : Your Docassemble server finished pulling the package's code.
ALKiln setup: Success! Test setup has finished successfully.
The text was updated successfully, but these errors were encountered:
plocket
changed the title
Kiln action doesn't work on tags
Make ALKiln action work on tags
Sep 20, 2023
Example of failing test: https://github.com/SuffolkLITLab/docassemble-ALAffidavitOfIndigency/actions/runs/6125747748/job/16628337375.
It looks like we manually ignore tags and don't run workflows on tags in our other repos, but that bit isn't in our suggested workflow example.
This should be an easy fix though, and we could make it in a few places.
in
action.yml
: if we usedgithub.ref_name
instead of the currentgithub.ref
, we'd getThis is exactly what docassemble wants. Not sure why it does'n't work with the full version, but it doesn't.
a more hacky change with a smaller scope would be to include
refs/tags/
inALKiln/lib/utils/session_vars.js
Line 81 in 4625d58
I can confirm manually that telling docassemble the tag name works:
The text was updated successfully, but these errors were encountered: