bntzio / warm-welcome-action

GitHub Action to give a warm welcome on PRs 💖
MIT License
3 stars 0 forks source link

Getting the following error - Unable to resolve action `bntzio/warm-welcome-action@latest`, unable to find version `latest` #4

Open dksanket opened 2 years ago

dksanket commented 2 years ago

Getting the following error - Unable to resolve action bntzio/warm-welcome-action@latest, unable to find version latest .. Following is my action file. It was working just a month back. Kindly help me fix it.

name: "Warm Welcome"

on: pull_request: types: [opened]

jobs: test: if: github.event_name == 'pull_request' runs-on: ubuntu-latest steps:

rajbos commented 1 year ago

Hi @dksanket, @latest is a branch and that got deleted. The best practice is to always use either a version number or the commit SHA of the version you want to use (the latter is more secure).

Learn more about how action's versioning system works here.

So change it to: uses: bntzio/warm-welcome-action@v0.1.0

Or even more secure to: uses: bntzio/warm-welcome-action@ec2f438fa13d55305e3a4399dea78f5beab4b656 #v0.1.0