[MISRA C] Write Safety Critical Rust guideline for D.4.3 #2542
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Reviewer Bot Issues | |
| on: | |
| issues: | |
| types: [opened, edited, labeled, unlabeled, assigned, unassigned, reopened, closed] | |
| permissions: | |
| contents: read | |
| env: | |
| STATE_ISSUE_NUMBER: '314' | |
| jobs: | |
| reviewer-bot-issues: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| # Temporary lock debt: contents:write is allowed only for the existing lock-ref API operations. | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| actions: read | |
| steps: | |
| - name: Install uv | |
| run: python -m pip install uv | |
| - name: Checkout trusted bot source | |
| uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
| with: | |
| ref: ${{ github.sha }} | |
| - name: Select trusted bot source | |
| id: bot-source | |
| uses: ./.github/actions/reviewer-bot-source | |
| - name: Run reviewer bot | |
| env: | |
| BOT_SRC_ROOT: ${{ steps.bot-source.outputs.bot-src-root }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| EVENT_NAME: issues | |
| EVENT_ACTION: ${{ github.event.action }} | |
| ISSUE_NUMBER: ${{ github.event.issue.number }} | |
| IS_PULL_REQUEST: 'false' | |
| ISSUE_STATE: ${{ github.event.issue.state }} | |
| ISSUE_TITLE: ${{ github.event.issue.title }} | |
| ISSUE_BODY: ${{ github.event.issue.body }} | |
| ISSUE_CREATED_AT: ${{ github.event.issue.created_at }} | |
| ISSUE_UPDATED_AT: ${{ github.event.issue.updated_at }} | |
| ISSUE_CLOSED_AT: ${{ github.event.issue.closed_at }} | |
| ISSUE_AUTHOR: ${{ github.event.issue.user.login }} | |
| ISSUE_HTML_URL: ${{ github.event.issue.html_url }} | |
| ISSUE_LABELS: ${{ toJson(github.event.issue.labels.*.name) }} | |
| ISSUE_CHANGES_TITLE_FROM: ${{ github.event.changes.title.from }} | |
| ISSUE_CHANGES_BODY_FROM: ${{ github.event.changes.body.from }} | |
| LABEL_NAME: ${{ github.event.label.name }} | |
| SENDER_LOGIN: ${{ github.event.sender.login }} | |
| REPO_OWNER: ${{ github.repository_owner }} | |
| REPO_NAME: ${{ github.event.repository.name }} | |
| GITHUB_REPOSITORY: ${{ github.repository }} | |
| GITHUB_REF: ${{ github.ref }} | |
| WORKFLOW_RUN_ID: ${{ github.run_id }} | |
| WORKFLOW_NAME: ${{ github.workflow }} | |
| WORKFLOW_JOB_NAME: ${{ github.job }} | |
| run: uv run --project "$BOT_SRC_ROOT" reviewer-bot |