Generate a concise commit message based on the changes.
## Rules
* One short summary line (max 50 characters recommended)
* Group related changes logically - avoid listing every single file
* Use bullet points only if there are multiple distinct change groups
* Start bullets with action verbs: Add, Remove, Update, Fix, Refactor, Improve
* Capitalize first word of each bullet
* No punctuation at end of lines
I've implemented this in a current project as a service. The solution is straightforward but depends on security annotations. You may adapt the solution to fit your needs... It should be easy to use custom annotations or to combine this with configuration options running in from config.yml or a database.
This is related with Symfony Issue #6538
namespace Acme\Security\Roles;
use Symfony\Component\HttpFoundation\Request;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /******************************************************************************* | |
| * Created by: shlomo hassid. | |
| * Release Version : 1.1 | |
| * Creation Date: 02/04/2018 | |
| * | |
| * This test will compare checksum methods with php hashing procedures and some | |
| * basic ones to -> crc32(), md5(), sha1(), xor(), xor2(), add(). | |
| * The text is randomly generated each iteration to avoid caching, the test also | |
| * use several text length that will be defferent each iteration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docker Hub Push Image | |
| run-name: Docker Hub Push Image [${{ github.ref_name }}] | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Docker Login |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # make deploy-production version=foobar | |
| # make deploy-stage version=foobar | |
| deploy-production: | |
| ansible-playbook -vv -i ansible/hosts -e 'release=${shell date +"%Y%m%d%H%M%S"} version=$(version)' ansible/deploy-production.yml | |
| deploy-stage: | |
| ansible-playbook -vv -i ansible/hosts -e 'release=${shell date +"%Y%m%d%H%M%S"} version=$(version)' ansible/deploy-stage.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl \ | |
| -X POST \ | |
| -H "Accept: application/vnd.github.v3+json" \ | |
| -H "Authorization: token <ACCESS_TOKEN_HERE>" \ | |
| https://api.github.com/repos/<ORG_OR_USERNAME>/<REPO>/actions/workflows/<FILENAME_OR_WORKFLOW_ID>/dispatches \ | |
| -d '{"ref":"refs/heads/master"}' |