Chore/Acción automática al publicar una nueva oferta #1
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: Comment on PR when a new offer is published | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
comment: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Run your automation script | |
run: | | |
chmod +x ./.github/scripts/new_offer.sh | |
./.github/scripts/new_offer.sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |