I have a private image/repo used in my dependencies. Today, I pushed 3 times into my repo, first two times my action-ci showed install private dependencies success, but the last time is failed, the error is about access denied. I did not change anything from the setting or the code, I don't know why it gave me this error. I check the registry setting, I am 100% sure I gave the repo with full permission to install that private image/repo. I think secrets.GITHUB_TOKEN could be expired? or what setting is wrong.
Thanks for any help.
run: login
username: ${{ GitHub.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
run: npm ci
env: ${{ secrets.GITHUB_TOKEN }}