File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 fetch-depth : 1
2929 persist-credentials : false
3030 - name : Run Droid Auto Review
31- uses : Factory-AI/droid-action@260eac443df653198ed70e9ea9d32980cfabde23 # v13
31+ uses : Factory-AI/droid-action@main
3232 with :
3333 factory_api_key : ${{ secrets.FACTORY_API_KEY }}
3434 automatic_review : true
Original file line number Diff line number Diff line change 3535 fetch-depth : 1
3636 persist-credentials : false
3737 - name : Run Droid Exec
38- uses : Factory-AI/droid-action@260eac443df653198ed70e9ea9d32980cfabde23 # v13
38+ uses : Factory-AI/droid-action@main
3939 with :
4040 factory_api_key : ${{ secrets.FACTORY_API_KEY }}
4141 allowed_bots : dependabot,factory-droid
Original file line number Diff line number Diff line change @@ -125,9 +125,14 @@ def _unpinned_actions(workflow: str) -> list[str]:
125125 return [ref for ref in refs if not ref .startswith ("./" ) and not _FULL_SHA_USES .match (ref )]
126126
127127
128- # Vendor-generated workflows ("DO NOT EDIT") whose installer tracks a major
129- # tag. Listed explicitly so any other floating ref, or a new one here, fails.
130- _VENDOR_MANAGED_ACTIONS = {"pullfrog.yml" : ["pullfrog/pullfrog@v0" ]}
128+ # Explicitly accepted vendor-managed floating refs; all others must use a SHA.
129+ # Pullfrog tracks a major tag. Droid has no moving major tag, so it tracks
130+ # Factory's main, which occasionally runs ahead of a release (see issue #88).
131+ _VENDOR_MANAGED_ACTIONS = {
132+ "pullfrog.yml" : ["pullfrog/pullfrog@v0" ],
133+ "droid.yml" : ["Factory-AI/droid-action@main" ],
134+ "droid-review.yml" : ["Factory-AI/droid-action@main" ],
135+ }
131136
132137
133138def _read_lock (name : str ) -> tuple [dict [str , str ], list [str ]]:
You can’t perform that action at this time.
0 commit comments