spring-pulsar icon indicating copy to clipboard operation
spring-pulsar copied to clipboard

Migrate aways from third-party (not varified publisher) GitHub actions

Open artembilan opened this issue 1 year ago • 0 comments

For example, this one is no: julb/action-post-googlechat-message. There is a simple replacement though:

      - name: Announce Release in Chat
        if: env.CHAT_WEBHOOK_URL
        run: |
          curl -X POST '${{ env.CHAT_WEBHOOK_URL }}' -H 'Content-Type: application/json' -d '{ text: "${{ github.event.repository.name }}-announcing `${{ env.MILESTONE }}`"}'
        env:
          CHAT_WEBHOOK_URL: ${{ secrets.SPRING_RELEASE_CHAT_WEBHOOK_URL }}

You can take ideas from the: https://github.com/spring-io/spring-github-workflows/blob/main/.github/workflows/spring-finalize-release.yml

artembilan avatar Sep 17 '24 15:09 artembilan