shield
shield copied to clipboard
chore: use organization workflows for improve actions
Description Explain what you have changed, and why.
Checklist:
- [ ] Securely signed commits
- [ ] Component(s) with PHPDoc blocks, only if necessary or adds value
- [ ] Unit testing, with >80% coverage
- [ ] User guide updated
- [ ] Conforms to style guide
[Invalid workflow file: .github/workflows/smart-commenting.yml#L21](https://github.com/codeigniter4/shield/actions/runs/8082359503/workflow)
error parsing called workflow
".github/workflows/smart-commenting.yml"
-> "codeigniter4/.github/.github/workflows/label-signing.yml@main" (source branch with sha:d8ea2aa19c2eb2b6482402133f328a6105d2aa22)
: workflow is not reusable as it is missing a `on.workflow_call` trigger
[Invalid workflow file: .github/workflows/smart-commenting.yml#L23](https://github.com/codeigniter4/shield/actions/runs/8082300366/workflow)
error parsing called workflow
".github/workflows/smart-commenting.yml"
-> "codeigniter4/.github/.github/workflows/label-add-conflict-all-pr.yml@main" (source branch with sha:d8ea2aa19c2eb2b6482402133f328a6105d2aa22)
: workflow is not reusable as it is missing a `on.workflow_call` trigger
See https://github.com/orgs/community/discussions/38954
I'm not sure, but we can't use branch names in this workflow, only tag names?
@datamweb I sent PR https://github.com/codeigniter4/.github/pull/26
[Invalid workflow file: .github/workflows/smart-commenting.yml#L20](https://github.com/codeigniter4/shield/actions/runs/8398026883/workflow)
The workflow is not valid. .github/workflows/smart-commenting.yml (Line: 20, Col: 3): Error calling workflow 'codeigniter4/.github/.github/workflows/label-signing.yml@main'. The workflow is requesting 'pull-requests: write', but is only allowed 'pull-requests: none'.
~~But why we have set access pull-requests: write in .github https://github.com/codeigniter4/.github/blob/567aab8e987fccac5b1864d0635ec087b12d0866/.github/workflows/label-signing.yml#L12-L14~~
It seems to be working fine now, please check it.
What is Smart Commenting-refactor-smarting-comment?
Smart Commenting: .github#L1 Canceling since a higher priority waiting request for 'Smart Commenting-refactor-smarting-comment' exists https://github.com/codeigniter4/shield/actions/runs/8398353923
add-comment-for-conflict / Check Conflicts
Run IFS=$'\n' # Set Internal Field Separator to newline to handle array elements GraphQL: Resource not accessible by integration (addLabelsToLabelable) Error: Process completed with exit code 1. https://github.com/codeigniter4/shield/actions/runs/8398353923/job/23003407973
~~codeigniter4/.github/.github/workflows/label-add-conflict-all-pr.yml@main" (source branch with sha:d8ea2aa19c2eb2b6482402133f328a6105d2aa22)\r\n: workflow is not reusable as it is missing a on.workflow_call trigger~~