Add frient A/S Smart Button (SBTZB-110) v2.0.4 #54
This file contains hidden or 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: Flag edited OTA issue | |
| on: | |
| issues: | |
| types: [edited] | |
| env: | |
| ISSUE_NUMBER: ${{ github.event.issue.number }} | |
| jobs: | |
| flag-edited: | |
| name: Add ota-edited label | |
| permissions: {} | |
| # Flag edited OTA submissions so maintainers know to consider adding ota-resubmit. | |
| if: | | |
| contains(github.event.issue.labels.*.name, 'ota-submit') && | |
| !contains(github.event.issue.labels.*.name, 'ota-edited') | |
| runs-on: ubuntu-slim | |
| timeout-minutes: 1 | |
| steps: | |
| - name: Add ota-edited label | |
| env: | |
| GH_TOKEN: ${{ secrets.BOT_ACCESS_TOKEN }} | |
| GH_REPO: ${{ github.repository }} | |
| run: gh issue edit "$ISSUE_NUMBER" --add-label "ota-edited" |