Comments (4)
@louim there is no default token available specifically for this action. That said, you should be able to use any GitHub authorization token that's valid for the actions that you mentioned.
Also, you don't necessarily need to use a custom PAT, ${{ secrets.GITHUB_TOKEN }}
may work for your needs. There are [scenarios where the default actions token may not work]https://github.com/jonabc/licensed-ci#authentication), and it looks like I need to update the readme to also call out a limitation from the actions help documentation. If none of those apply to your usage though, you might be ok with GITHUB_TOKEN
?
When you use the repository's GITHUB_TOKEN to perform tasks, events triggered by the GITHUB_TOKEN, with the exception of workflow_dispatch and repository_dispatch, will not create a new workflow run. This prevents you from accidentally creating recursive workflow runs. For example, if a workflow run pushes code using the repository's GITHUB_TOKEN, a new workflow will not run even when the repository contains a workflow configured to run when push events occur.
from licensed-ci.
@jonabc yeah, sorry I wasn't clear, I'm using a custom PAT to get around the reason you mention (default action token not re-triggering a run).
from licensed-ci.
Ah I see. Yeah unfortunately there's no common PAT or other authorization mechanism I'm aware of to bypass notifications when using a PAT on your account. I haven't kept close track of changes or updates to notifications and token usage though, maybe there's something in the help docs?
If not, would creating a helper/bot type user account be an option and using PATs created on the other account to restrict or manage notifications?
from licensed-ci.
Related Issues (18)
- Got Validation Failed error while running the pipeline (Bundler + Gemfile approach) HOT 5
- Feature request: support schedule event
- Bump to Ruby 3.1? HOT 2
- Handle rate limiting responses when querying the GitHub API
- set-output deprecation warning when running the action HOT 4
- Fundamentals action items for licensed-ci - secret-scanning
- Is it possible to have the action push signed commits? HOT 2
- Error: "does not reference a branch" when running Licensed CI HOT 3
- Error running `git add` on an empty directory HOT 2
- Question: Run on pull request HOT 8
- Dealing with PRs created after licensed has created a fixup PR HOT 3
- Better handle `refs/tags/*` refs
- Update jest to fix the dependency security warnings
- Move off of actions mocks HOT 1
- How do I actually run this tool? HOT 22
- Installation Error HOT 1
- V1.5.5 broke our flow HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from licensed-ci.