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

Warning encountered while using this action that causes the build to fail #6

Open
basantPayU opened this issue Apr 19, 2023 · 1 comment

Comments

@basantPayU
Copy link

basantPayU commented Apr 19, 2023

description:

Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
/entrypoint.sh: line 38: [: -ge: unary operator expected

yml file contents

name: security_header
on: 
  workflow_dispatch:
  push:
  pull_request:
    branches:
      - env/sbox
      - env/qa
      - env/production
jobs:
  test_response_headers:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v3
        with:
          repository: marcuslindblom/security-headers
      - name: response-header-security-check
        id: security-check
        uses: marcuslindblom/[email protected]
        with:
          url: someurl.com
          # url: ${{ secrets.SECURITY_HEADERS_URL }}
          followRedirects: true # This is optional
          grade: A
@iamazeem
Copy link

@marcuslindblom: PR #7 created.
Please review, merge, and publish a new release.
Thanks!

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

Successfully merging a pull request may close this issue.

2 participants