Last active
September 27, 2021 13:32
-
-
Save MisterDaniels/565dc909e63cc1b0911fa206ba7312b7 to your computer and use it in GitHub Desktop.
Pull request creator github workflow
This file contains 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: Pull request creator | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 15 * *' | |
jobs: | |
pr-creator: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get current date | |
id: date | |
run: echo "::set-output name=date::$(date +'%m-%Y')" | |
- name: Create pull request | |
id: prc | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
token: ${{ secrets.GITHUBTOKEN }} | |
commit-message: Atualizado pacotes do composer | |
committer: Github <noreply@github.com> | |
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | |
signoff: false | |
branch: atualizacaoComposer${{ steps.date.outputs.date }} | |
delete-branch: true | |
title: Atualização do Composer - ${{ steps.date.outputs.date }} | |
body: | | |
--- | |
## Pacotes atualizados | |
### Validas as alterações | |
--- | |
Auto-generated by [create-pull-request][1] | |
[1]: https://github.com/peter-evans/create-pull-request | |
labels: | | |
Waiting review | |
#talvezvaitercopa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment