on: issues: types: - opened jobs: release: if: github.event.issue.title == 'release' runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # TODO extract dedicated action - name: download tea cli shell: bash env: TEA_VERSION: 0.9.2 run: | wget https://dl.gitea.com/tea/${TEA_VERSION}/tea-${TEA_VERSION}-linux-386 mv tea* tea chmod +x tea ls -l - name: tea login shell: bash run: | ./tea login add --url ${{ github.server_url }} --token ${{ github.token }} - name: close issue shell: bash run: | echo "tea i close ${{ github.event.issue.id }}" ./tea i close ${{ github.event.issue.number }}