slack-ruby / slack-ruby-client

A Ruby and command-line client for the Slack Web, Real Time Messaging and Event APIs.
MIT License
1.19k stars 214 forks source link

Update API from slack-api-ref@878be8f #465

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

Update API from slack-api-ref. Rev: 878be8f Date: 2023-04-30

dblock commented 1 year ago

@duffn this needs a couple of things:

Will you take care of it?

duffn commented 1 year ago

Hmm interesting about CI. Great, yeah I’ll take a look.

dblock commented 1 year ago

Hmm interesting about CI. Great, yeah I’ll take a look.

Still want to look at this? Otherwise I'll take a stab.

duffn commented 1 year ago

I may not be able to get to this soon, so if you want to take a stab, please do!

dangerpr-bot commented 1 year ago
1 Warning
:warning: There're library changes, but not tests. That's OK as long as you're refactoring existing code.

Generated by :no_entry_sign: Danger

dblock commented 1 year ago

I fixed the triggering of actions in #467.

dblock commented 1 year ago

https://github.com/slack-ruby/slack-ruby-client/commit/097b3ca3baf22bb55e8d6750b0fe96d9a7679fe5 was it!

      - name: Commit and Push
        run: |
          git config --local user.name 'slack-ruby-ci-bot'
          git config --local user.email 'noreply@github.com'
          git config --local --unset-all http.https://github.com/.extraheader || true
          AUTH=$(echo -n "x-access-token:${{ steps.github_app_token.outputs.token || secrets.GITHUB_TOKEN }}" | base64)
          echo "::add-mask::${AUTH}"
          git config --local http.https://github.com/.extraheader "AUTHORIZATION: basic ${AUTH}"
          git add CHANGELOG.md
          git commit --amend --no-edit
          git push origin automated-api-update -f

Wrote it up: https://code.dblock.org/2023/04/29/triggering-ci-from-pull-requests-and-force-pushes-in-github-actions.html