docs: 📝 add learning objectives section to lesson template #32
Workflow file for this run
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: Assign PR to creator | |
on: | |
pull_request: | |
types: | |
- reopened | |
- opened | |
permissions: | |
pull-requests: write | |
jobs: | |
assign-pr-to-creator: | |
name: Assign PR to creator | |
runs-on: ubuntu-latest | |
steps: | |
- name: Assign PR to creator | |
if: ${{ github.event_name == 'pull_request' }} | |
run: | | |
gh pr edit $PR --add-assignee $AUTHOR | |
env: | |
AUTHOR: ${{ github.event.pull_request.user.login }} | |
PR: ${{ github.event.pull_request.html_url }} | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |