Comments (3)
That's curious. 🤔 Yes, I built this for use originally with private repos. That ref should be ignored. It should only look at head refs AKA branch names.
block-fixup-merge-action/entrypoint.sh
Lines 8 to 11 in 6521b8e
Do are you using v1.1.2? Can you post the entire logs? Just redact anything you are concerned about. I suspect this is a new non-branch name format, but cannot be sure.
from block-fixup-merge-action.
Thank you for responding.
I've used version 1.1.1:
- name: Block autosquash commits
uses: 13rac1/[email protected]
As far as the log goes, in the workflow log I see:
Run 13rac1/[email protected]
/usr/bin/docker run ... ...
...
Current ref: refs/pull/245/merge
Current branch: 45/merge
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
From https://github.com/my-org-name/my-repo-name
* branch master -> FETCH_HEAD
fatal: couldn't find remote ref 45/merge
The branch name was better-ci-cd
but I've also tried a couple of other test/temp branch names.
I should point out that I've only tried this with a private repository in my company's organization.
I don't know if it's related but I can try this again using a private repo in my own profile and not withing an organization.
from block-fixup-merge-action.
Ah! This issue was fixed in 1.1.2. Please upgrade https://github.com/13rac1/block-fixup-merge-action/releases/tag/v1.1.2
from block-fixup-merge-action.
Related Issues (11)
- Block --squash commits?
- Gets branch name wrong and fails HOT 1
- Diff only compares current branch with master HOT 3
- What is `__ci_base` and `__ci_pr`? HOT 5
- Doesn't handle !amend commits
- shellcheck?
- deprecation warnings
- Incompatible with merge queues HOT 1
- Using action as required check HOT 1
- Change to Github Actions breaks Action
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from block-fixup-merge-action.