kou commented on a change in pull request #10311:
URL: https://github.com/apache/arrow/pull/10311#discussion_r632074335
##########
File path: dev/archery/archery/cli.py
##########
@@ -789,7 +789,9 @@ def integration(with_all=False, random_seed=12345, **args):
default='-', required=True)
@click.option('--arrow-token', envvar='ARROW_GITHUB_TOKEN',
help='OAuth token for responding comment in the arrow repo')
-def trigger_bot(event_name, event_payload, arrow_token):
[email protected]('--crossbow-token', '-ct', envvar='CROSSBOW_GITHUB_TOKEN',
+ help='OAuth token for pushing to the crossow repository')
+def trigger_bot(event_name, event_payload, arrow_token, crossbow_token):
Review comment:
We don't need to revert this change because `crossbow_token` isn't used
in this function.
##########
File path: dev/tasks/macros.jinja
##########
@@ -87,7 +87,7 @@ on:
{% endfor %}
{% endif %}
env:
- CROSSBOW_GITHUB_TOKEN: {{ '${{ secrets.GITHUB_TOKEN }}' }}
+ CROSSBOW_GITHUB_TOKEN: {{ '${{ secrets.CROSSBOW_GITHUB_TOKEN }}' }}
Review comment:
Can we try the following?
```suggestion
CROSSBOW_GITHUB_TOKEN: {{ '${{ secrets.CROSSBOW_GITHUB_TOKEN ||
secrets.GITHUB_TOKEN }}' }}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]