name: Tag Codeowner on Sample Issue on: issues: types: [opened] jobs: tag-codeowner: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.x' - name: Install dependencies run: pip install pyyaml requests - name: Extract selected path and tag codeowner env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ISSUE_BODY: ${{ github.event.issue.body }} ISSUE_NUMBER: ${{ github.event.issue.number }} run: | python3 - <