[ads] Refactor purchase intent to listen for OnTabDidChange
and OnDidOpenNewTab
instead of OnTextContentDidChange
#77345
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: Tweet nightly | |
on: | |
issues: | |
types: | |
- labeled | |
- closed | |
jobs: | |
tweet-nightly: | |
if: (github.event.action == 'labeled' && github.event.label.name == 'release-notes/social' && github.event.issue.state == 'closed') || (github.event.action == 'closed' && contains(github.event.issue.labels.*.name, 'release-notes/social')) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Tweet | |
uses: nearform-actions/github-action-notify-twitter@6cf7ffcb3819839a3a51294646c1cc8d7a1f1943 # v1.2.0 | |
with: | |
message: "🎉 Issue resolved: ${{ github.event.issue.title }} by ${{ github.event.issue.user.login }}\n${{ github.event.issue.html_url }}" | |
twitter-app-key: ${{ secrets.TWITTER_CONSUMER_API_KEY }} | |
twitter-app-secret: ${{ secrets.TWITTER_CONSUMER_API_SECRET }} | |
twitter-access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }} | |
twitter-access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} |