Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"fileName" is not a permitted key." #98

Open
cristianmtr opened this issue Jun 27, 2023 · 4 comments
Open

"fileName" is not a permitted key." #98

cristianmtr opened this issue Jun 27, 2023 · 4 comments

Comments

@cristianmtr
Copy link

config:

      - name: XXXX
        uses: exuanbo/actions-deploy-gist@v1
        with:
          token: ${{ secrets.XXXX }}
          gist_id: XXXX
          gist_description: "XXXX"
          gist_file_name: XXXXX
          file_path: XXXXX

Log:

Run exuanbo/actions-deploy-gist@v1
  with:
    token: ***
    gist_id: XXXX
    gist_description: XXXX
    gist_file_name: XXXX
    file_path: XXXX
    file_type: text
  env:
    REPO_NAME: XXXX
    suffix: XXX
::group::Dump inputs
Dump inputs
  [INFO] GistId: XXXX
  [INFO] GistDescription: XXXX
  [INFO] GistFileName: XXXX
  [INFO] FilePath: XXXX
  [INFO] FileType: text
  ::endgroup::
::group::Deploy to gist
Deploy to gist
  [INFO] Action failed with "Error: Invalid request.
  
  "fileName" is not a permitted key."
  ##[debug]Node Action run completed with exit code 1
  ##[debug]Finishing: Deploy coverage badge
@edonyzpc
Copy link

I got the same issue. Maybe it was the running env-related issue(I guess so), I will try to re-run jobs later to check if it is ok.
image

@People-11
Copy link

Met the same problem.

@cristianmtr
Copy link
Author

We are seeing the same issue on multiple repos too. This is bizarre. We didn't change anything on our side and I don't see any new changes in this repo.

@Raphiiko
Copy link

The same started happening here. I've submitted a PR with a potential fix in #99.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants