[0.86] Fix display: contents nodes having hasNewLayout set incorrectly #1373
This file contains hidden or 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: Handle @react-native-bot commands | |
| on: | |
| issue_comment: | |
| types: [created] | |
| jobs: | |
| publish-message: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checkout the repo | |
| - name: Checkout the repo | |
| uses: actions/checkout@v4 | |
| - name: Run React Native Bot | |
| uses: actions/github-script@v5 | |
| env: | |
| REACT_NATIVE_BOT_GITHUB_TOKEN: ${{ secrets.REACT_NATIVE_BOT_REACT_WG_REACT_NATIVE_RELEASES_TOKEN }} | |
| with: | |
| github-token: ${{ secrets.REACT_NATIVE_BOT_REACT_WG_REACT_NATIVE_RELEASES_TOKEN }} | |
| script: | | |
| // List of allowed GitHub users to interact with @react-native-bot | |
| const allowedUsers = [ | |
| 'alanleedev', | |
| 'cortinico', | |
| 'cipolleschi', | |
| 'fabriziocucci', | |
| 'robhogan', | |
| 'motiz88', | |
| 'vzaidman', | |
| 'gabrieldonadel', | |
| 'huntie', | |
| 'chrfalch', | |
| 'zeyap', | |
| ]; | |
| const commentBody = context.payload.comment.body; | |
| const commenterUsername = context.payload.comment.user.login; | |
| if (allowedUsers.includes(commenterUsername) && commentBody.includes('@react-native-bot')) { | |
| const script = require('./.github/workflows/scripts/react-native-bot.js') | |
| script({github, context}) | |
| } |