Originally created by @jkulak on GitHub (Oct 28, 2022).
Wen running the newest version of the action, there is a Warning stating the action is using a the deprecated set-output method.
Sending webhook request to ***/deploy-api
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using
Environment Files. For more information see:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Received status code: 200
Originally created by @jkulak on GitHub (Oct 28, 2022).
Wen running the newest version of the action, there is a Warning stating the action is using a the deprecated `set-output` method.
```
Sending webhook request to ***/deploy-api
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using
Environment Files. For more information see:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Received status code: 200
```
My config
```
deploy-api:
name: Redeploy API
runs-on: ubuntu-latest
needs: [build-and-push]
steps:
- name: Deploy docker container webhook
uses: actions/setup-node@v3
with:
node-version: "16"
- name: Webhook call
uses: joelwmale/webhook-action@master
with:
url: ${{ secrets.DEPLOY_WEBHOOK_URL }}/deploy-api
headers: '{"secret": "${{ secrets.WEBHOOK_SECRET }}"}'
```
Source: [https://github.com/jkulak/smartplaylist-backend/actions/runs/3347471589/jobs/5545500696#step:3:7](https://github.com/jkulak/smartplaylist-backend/actions/runs/3347471589/jobs/5545500696#step:3:7)
I guess it happens because of the checkout version in the package json file.
As far as I can see the develop branch updated with bot to the latest version. Try to use this branch:
- uses: joelwmale/webhook-action@develop
@devenes commented on GitHub (Nov 8, 2022):
I guess it happens because of the checkout version in the package json file.
As far as I can see the develop branch updated with bot to the latest version. Try to use this branch:
```
- uses: joelwmale/webhook-action@develop
```
But it didn't fix the issue, probably due to "@actions/core": "^1.10.0" being set as a caret dependency. If you look in the dist folder, you'll see that it still uses the old version:
@depoulo commented on GitHub (Nov 10, 2022):
But it didn't fix the issue, probably due to `"@actions/core": "^1.10.0"` being set as a caret dependency. If you look [in the dist folder](https://github.com/joelwmale/webhook-action/blob/2.2.0/dist/index.js#L334-L344), you'll see that it still uses the old version:
https://github.com/joelwmale/webhook-action/blob/2c43ebbef8b9c5e5ea27cd65dfdeac58f90e7e29/dist/index.js#L334-L344
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @jkulak on GitHub (Oct 28, 2022).
Wen running the newest version of the action, there is a Warning stating the action is using a the deprecated
set-outputmethod.My config
Source: https://github.com/jkulak/smartplaylist-backend/actions/runs/3347471589/jobs/5545500696#step:3:7
@natlibfi-jonollil commented on GitHub (Oct 31, 2022):
Same warning message
Action yaml:
Bit simpler webhook trigger for OpenShift image build
@devenes commented on GitHub (Nov 8, 2022):
I guess it happens because of the checkout version in the package json file.
As far as I can see the develop branch updated with bot to the latest version. Try to use this branch:
@joelwmale commented on GitHub (Nov 8, 2022):
I'll be pushing a new version of the action today!
@devenes commented on GitHub (Nov 8, 2022):
@joelwmale it's a great news! 🥳
@depoulo commented on GitHub (Nov 10, 2022):
But it didn't fix the issue, probably due to
"@actions/core": "^1.10.0"being set as a caret dependency. If you look in the dist folder, you'll see that it still uses the old version:https://github.com/joelwmale/webhook-action/blob/2c43ebbef8b9c5e5ea27cd65dfdeac58f90e7e29/dist/index.js#L334-L344