MNT Only tweets on main repo
@@ -15,6 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Tweet URL of last commit as @sklearn_commits
+ if: github.repository == 'scikit-learn/scikit-learn'
uses: xorilog/twitter-action@0.1
with:
args: "-message \"https://github.com/scikit-learn/scikit-learn/commit/${{ github.sha }}\""
