Skip to content

[CI][Dev] Document how to maintain CROSSBOW_GITHUB_TOKEN #51001

Description

@kou

Describe the enhancement requested

We're using CROSSBOW_GITHUB_TOKEN for comment bot:

- name: Handle GitHub comment event
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROSSBOW_GITHUB_TOKEN: ${{ secrets.CROSSBOW_GITHUB_TOKEN }}
run: |
archery --debug trigger-bot \
--event-name "${GITHUB_EVENT_NAME}" \
--event-payload "${GITHUB_EVENT_PATH}"

We need to generate a token that has suitable scope (contents:write actions:write workflows:write, see also #dev > ✔ Update Crossbow tokens @ 💬) and ask INFRA to set it GitHub Actions secret.

We have token expiration notification mechanism: https://lists.apache.org/list?builds@arrow.apache.org:lte=3y:CROSSBOW_GITHUB_TOKEN

But I don't know how to configure it...

Component(s)

Continuous Integration, Developer Tools

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions