Skip to content

Commit

Permalink
Add 'Update closed_at field' workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekseyManetov committed Jan 10, 2025
1 parent 1cfd120 commit ddbe3b5
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/add_closed_at_field.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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 }}

0 comments on commit ddbe3b5

Please sign in to comment.