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

Avoid ACTIONS_ALLOW_UNSECURE_COMMANDS #10

Open
woodie opened this issue May 9, 2021 · 0 comments
Open

Avoid ACTIONS_ALLOW_UNSECURE_COMMANDS #10

woodie opened this issue May 9, 2021 · 0 comments

Comments

@woodie
Copy link

woodie commented May 9, 2021

I'd like to avoid having to set ACTIONS_ALLOW_UNSECURE_COMMANDS.

  - name: Set branch name unsecure
    uses: nelonoel/branch-name@v1
    env:
      ACTIONS_ALLOW_UNSECURE_COMMANDS: true

  - name: Set branch name
    run: echo "BRANCH_NAME=$(echo ${GITHUB_REF##*/})" >> $GITHUB_ENV
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

1 participant