Releases: CasperWA/push-protected
v2.6.0
Automation, more dev tools & better console printing
Automation for dependency inclusion and more have been improved with several workflows.
Pylint, Mypy, bandit and safety have been added as CI developer tools for an improved Python code base.
When printing to the console from Python, the buffer is immediately flushed, having the effect that the GitHub Actions console immediately receives the printed statements (configuration overview and status updates) as they happen, instead of printing everything when the Python code exits.
Changelog
v2.6.0 (2021-12-08)
Implemented enhancements:
- Immediately show print statements #75 (CasperWA)
- Update pre-commit #58 (CasperWA)
- Automate dependabot more #57 (CasperWA)
Fixed bugs:
- Correct target branch for dependabot #71
actions/checkout@v1
still checking out wrong commit SHA #67- Not properly reset to HEAD commit of remote branch #63
- unprotect_reviews not doing its job #54
Closed issues:
Merged pull requests:
- Update dependencies #76 (CasperWA)
- Update dependencies #73 (CasperWA)
- Change dependabot PRs target to ci/dependabot-updates #72 (CasperWA)
- Use v1 for resetting in v1 CI section #68 (CasperWA)
- Update dependencies #66 (CasperWA)
- Use GITHUB_REF instead of github.sha #65 (CasperWA)
- Solve issue with checkout v1 action #64 (CasperWA)
- Update dependencies #62 (CasperWA)
- Extend scope and rights mentions in README #56 (CasperWA)
* This Changelog was automatically generated by github_changelog_generator
v2.5.0
Updates:
- Respect local CI changes and push directly instead of going through a merge sequence (#53)
Developer updates:
v2.4.1
Updates:
- Prefix local action bash variable names with
PUSH_PROTECTED_
to avoid clashing with workflow bash variables (#51) - Update
action.yml
default values to explicitly be variables (#51)
Developer updates:
- Update dependencies (#49)
pre-commit~=2.15
- Update pre-commit hook
black
to v21.9b0. - Silence HTML code linting in
README.md
.
v2.4.0
v2.3.0
v2.2.0
Updates:
- If there are no changes in the local branch compared to the target branch (on the remote
origin
) the action will not push to the repository and go through a lot of unnecessary steps (#28). - Using
python:alpine
Docker image instead ofpython:3.8
(#28).
This is a much slimmer image, leading to a speed up in action build time.
Developer updates:
v2.1.1
v2.1.0
v2.0.0
The inputs have had a makeover. The action is now mirroring ´ad-m/github-push-action` in terms of inputs (see the new "Usage" section in the README).
The recommended way to use the action is now:
- Use
actions/checkout
. - Perform changes, commit, update/create tags.
- Push to a protected branch with this action.
Now, when pushing to a non-protected branch it will skip a lot of steps needed to push to protected branches making it faster. It will also ignore inputs related only to protected branches (like unprotect_reviews
).
v1.0.1
The main point of this patch update is the fix of unprotect_reviews
(see #9).
In other news:
- Split
pip
dependencies out ofsetup.py
torequirements*.txt
files in order to adddependabot
. - Update README with mention of adding
push-action/
to workflows, which is not needed if the workflow is run unconditionally for any and all push events.