Hacker News new | ask | show | jobs
by skwashd 460 days ago
The GitHub repo and org disappeared while I was poking around. Both https://github.com/tj-actions and https://github.com/tj-actions/changed-files return 404.
1 comments

Is there a safe fork somewhere?
Looking for one as well. My gh actions broke and looking for a drop in replacement.

Got this working with claude, would love if someone with more knowledge had thoughts:

```bash # Extract branch name from GITHUB_REF or GITHUB_HEAD_REF echo "current_branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT # Determine if this is the default branch if [[ "${GITHUB_REF#refs/heads/}" == "${GITHUB_REF_NAME}" && "${GITHUB_REF_NAME}" == "${GITHUB_BASE_REF:-${GITHUB_REF_NAME}}" ]]; then echo "is_default=true" >> $GITHUB_OUTPUT else echo "is_default=false" >> $GITHUB_OUTPUT fi # Set default branch name echo "default_branch=${GITHUB_BASE_REF:-${GITHUB_REF_NAME}}" >> $GITHUB_OUTPUT ```

https://github.com/dorny/paths-filter ? looking into it.

Definitely going through and pinning all my 3rd party actions to specific commits e.g. party/package@<commitsha>.