-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Camunda 24303 fix action path #318
base: main
Are you sure you want to change the base?
Conversation
- name: Symlink current action repo | ||
env: | ||
action_path: ${{ github.action_path }} | ||
run: ln -fs ${{ env.action_path }}/.. .github/.linked-infra-global-github-actions | ||
shell: bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This workaround is necessary as per https://github.com/orgs/community/discussions/41927
run: | | ||
IS_PR_EVENT=${{ github.event_name == 'pull_request' }} | ||
HAS_NO_CACHE_LABEL=${{ contains(github.event.pull_request.labels.*.name, 'ci:no-cache') }} | ||
IS_FEATURE_BRANCH=${{ !(startsWith(github.ref_name, 'stable/') || github.ref_name == 'main') }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Introduce and respect the cache_create_branch_regex
input that setup-yarn-cache
action has - to allow universal use also outside of camunda/camunda
repo.
I've moved the setup-yarn-cache code (and its dependency on is-cache-enabled) to a dedicated PR. This commit has been used also for testing on the monorepo - camunda/camunda#26294 This will replace: - #318
This PR is for implementing the cache disable mechanism but in a way that actually works when referencing the
is-cache-enabled
composite action