remove(screenshot.js): delete screenshot.js file as it's no longer needed The screenshot.js file was removed because it was no longer necessary for the project. The functionality it provided was either outdated or replaced by other parts of the application. #9
Workflow file for this run
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: openai-pr-description | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
permissions: | |
id-token: write | |
contents: write | |
pull-requests: write | |
issues: write | |
actions: write | |
jobs: | |
init: | |
name: init | |
runs-on: ubuntu-latest | |
outputs: | |
action: ${{ steps.init.outputs.action }} | |
steps: | |
- id: init | |
name: "init" | |
shell: bash | |
run: | | |
if [[ -n "${{ secrets.OPENAI_API_KEY }}" ]] | |
then | |
echo 'action=true' >> "${GITHUB_OUTPUT}" | |
else | |
echo 'action=false' >> "${GITHUB_OUTPUT}" | |
fi | |
openai-pr-description: | |
needs: [init] | |
if: needs.init.outputs.action == 'true' && github.head_ref != 'release-please--branches--main' | |
name: openai-pr-description | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: platisd/openai-pr-description@453990b658f5a6942c2e0063d43fbcd8de7ec3a1 | |
with: | |
openai_api_key: ${{ secrets.OPENAI_API_KEY }} | |
openai_model: gpt-3.5-turbo | |
max_tokens: 750 |