Send 50 invite issues and update progress file #11
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: Send 50 invite issues and update progress file | |
on: | |
workflow_dispatch: | |
permissions: | |
pull-requests: write | |
contents: write | |
jobs: | |
run-script-and-create-pr: | |
runs-on: ubuntu-latest | |
timeout-minutes: 330 # 5.5hours, but should generally pass for 5 hours | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- name: Run script | |
run: cd issue_creator && npm i && npm run send_issues -- --token ${{ secrets.ROS_GITHUB_TOKEN }} --limit 50 --repos hand_selected.json | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
commit-message: Update progress file | |
title: Automated progress file update | |
body: This is an automated pull request created by the GitHub Actions workflow. | |
branch: automated-file-update | |