Skip to content

v.1.0.6

v.1.0.6 #4

Workflow file for this run

name: PHP Composer
on:
release:
types: [published]
jobs:
notify:

Check failure on line 9 in .github/workflows/php.yml

View workflow run for this annotation

GitHub Actions / PHP Composer

Invalid workflow file

The workflow is not valid. .github/workflows/php.yml (Line: 9, Col: 3): The workflow must contain at least one job with no dependencies.
needs: test
runs-on: ubuntu-latest
steps:
- uses: slackapi/[email protected]
with:
payload: |
{
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": ":php: A new version of `php-onfleet` has been released: `${{ github.event.release.tag_name }}` :tada:"
},
"accessory": {
"type": "button",
"text": {
"type": "plain_text",
"text": "See details"
},
"url": "${{ github.event.release.html_url }}"
}
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK