test workflow #2
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: Update closed_at field | |
on: | |
issues: | |
types: | |
- closed | |
jobs: | |
update-task-created_at: | |
name: Update closed_at issue field | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: monry/actions-get-project-item-id@v2 | |
with: | |
github-token: ${{ secrets.UUI_CI_SECRET }} | |
project-id: 'PVT_kwDOABhCKs4AKwip' | |
issue-id: ${{ github.event.issue.node_id }} | |
id: get-project-item-id | |
- uses: titoportas/[email protected] | |
with: | |
project-url: https://github.com/orgs/epam/projects/14 | |
github-token: ${{ secrets.UUI_CI_SECRET }} | |
item-id: ${{ steps.get-project-item-id.outputs.project-item-id }} | |
field-keys: closed_at | |
field-values: ${{ github.event.issue.created_at }} |