diff --git a/.github/workflows/release-tweet.yml b/.github/workflows/release-tweet.yml index 00939457ad8a..54bba222611e 100644 --- a/.github/workflows/release-tweet.yml +++ b/.github/workflows/release-tweet.yml @@ -1,14 +1,14 @@ name: 🐦 Release to Tweet on: - release: - types: [published] + create permissions: contents: read jobs: tweet: + if: github.event.ref_type == 'tag' runs-on: ubuntu-latest steps: - name: Tweet